<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Repetier-Firmware: src/ArduinoAVR/Repetier/Repetier.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="icon128.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Repetier-Firmware
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_repetier_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Repetier.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_repetier_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">    This file is part of Repetier-Firmware.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">    Repetier-Firmware is free software: you can redistribute it and/or modify</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">    it under the terms of the GNU General Public License as published by</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">    the Free Software Foundation, either version 3 of the License, or</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">    (at your option) any later version.</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">    Repetier-Firmware is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">    GNU General Public License for more details.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">    You should have received a copy of the GNU General Public License</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">    along with Repetier-Firmware.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">    This firmware is a nearly complete rewrite of the sprinter firmware</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">    by kliment (https://github.com/kliment/Sprinter)</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">    which based on Tonokip RepRap firmware rewrite based off of Hydra-mmm firmware.</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#ifndef _REPETIER_H</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#define _REPETIER_H</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;math.h&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">//#define REPETIER_VERSION &quot;0.92.10&quot;</span></div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a8adf65934f3576c6ff15578f1a162b3f">   28</a></span>&#160;<span class="preprocessor">#define REPETIER_VERSION &quot;1.0.0dev&quot;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">// Use new communication model for multiple channels - only until stable, then old version gets deleted</span></div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a9534f580e371cb9d418edb02a7392ab0">   31</a></span>&#160;<span class="preprocessor">#define NEW_COMMUNICATION 1</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">// ##                                  Debug configuration                                 ##</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">// ##########################################################################################</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">// These are run time switchable debug flags</span></div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6">   36</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6">debugFlags</a> {<a class="code" href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6af630f6b111405102201593a6b245b39b">DEB_ECHO</a> = 0x1, <a class="code" href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6a32f3b6b1658a5e27fa5736b6922c5046">DEB_INFO</a> = 0x2, <a class="code" href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6a5df535ec23515f04d78f076eac9d6635">DEB_ERROR</a> = 0x4,<a class="code" href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6ab3bf0643f53f169c3c0018454c035465">DEB_DRYRUN</a> = 0x8,</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6abb67038119681251790a54cccb51c0bd">   37</a></span>&#160;                 <a class="code" href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6ac42daeb287e3dcc360fbfa82f581066a">DEB_COMMUNICATION</a> = 0x10, <a class="code" href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6abb67038119681251790a54cccb51c0bd">DEB_NOMOVES</a> = 0x20, <a class="code" href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6a33983fd80388eb827e3c76f4a6f266c7">DEB_DEBUG</a> = 0x40</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;                };</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">//#define DEBUG_QUEUE_MOVE</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment"></span><span class="comment">//#define DEBUG_PLANNER</span></div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a77e164a49bf252fcb13d3bfbde4f7360">   46</a></span>&#160;<span class="comment"></span><span class="preprocessor">#define INCLUDE_DEBUG_COMMUNICATION 1</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment">// Echo all ascii commands after receiving</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="comment">//#define DEBUG_ECHO_ASCII</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ad512cb595c1b9726414ad6f3b4c7d57a">   51</a></span>&#160;<span class="comment"></span><span class="preprocessor">#define INCLUDE_DEBUG_NO_MOVE 1</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment">//#define DEBUG_FREE_MEMORY</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment">//#define DEBUG_ADVANCE</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment"></span><span class="comment">//#define DEBUG_GENERIC</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment"></span><span class="comment">//#define DEBUG_STEPCOUNT</span></div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment"></span><span class="comment">//#define DEBUG_COM_ERRORS</span></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment"></span><span class="comment">//#define DEBUG_PRINT</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment">//#define DEBUG_DELTA_OVERFLOW</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="comment">//#define DEBUG_DELTA_REALPOS</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="comment">//#define DEBUG_SPLIT</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment">//#define DEBUG_JAM</span></div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment">// Find the longest segment length during a print</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="comment">//#define DEBUG_SEGMENT_LENGTH</span></div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="comment">// Find the maximum real jerk during a print</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="comment">//#define DEBUG_REAL_JERK</span></div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="comment">// Debug reason for not mounting a sd card</span></div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="comment">//#define DEBUG_SD_ERROR</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="comment">// Uncomment the following line to enable debugging. You can better control debugging below the following line</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment">//#define DEBUG</span></div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aa46006d6606f3f94029fff98cc0ba94a">   78</a></span>&#160;<span class="preprocessor">#define DEBUG_MSG(x) {if(Printer::debugEcho()) { Com::printFLN(PSTR(x));HAL::delayMilliseconds(20);}}</span></div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a2c3d1fe5911ef1ad837521d02a5d04c7">   79</a></span>&#160;<span class="preprocessor">#define DEBUG_MSG2(x,y) {if(Printer::debugEcho()) {Com::printFLN(PSTR(x),y);HAL::delayMilliseconds(20);}}</span></div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aaeb4aade3f95c9f707bbbf4bbbdd2408">   80</a></span>&#160;<span class="preprocessor">#define DEBUG_MSG_FAST(x) {if(Printer::debugEcho()) {Com::printFLN(PSTR(x));}}</span></div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a8f2baf63e9862f5c26ea472dd6e96aac">   81</a></span>&#160;<span class="preprocessor">#define DEBUG_MSG2_FAST(x,y) {if(Printer::debugEcho()) {Com::printFLN(PSTR(x),y);}}</span></div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aa21a2578a05305f2a137f54b1a2e4702">   83</a></span>&#160;<span class="preprocessor">#define CARTESIAN 0</span></div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a538c813d58ab27e9db64b9c04b362bbb">   84</a></span>&#160;<span class="preprocessor">#define XY_GANTRY 1</span></div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="_repetier_8h.html#afad8dd9440736f955708d98feee6d47a">   85</a></span>&#160;<span class="preprocessor">#define YX_GANTRY 2</span></div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a3fd2b1bcd7ddcf506237987ad780f495">   86</a></span>&#160;<span class="preprocessor">#define DELTA 3</span></div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aafa068b5aba998c977d82e1769d17721">   87</a></span>&#160;<span class="preprocessor">#define TUGA 4</span></div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ac1e224ef8feb18bd53286564ed77e31c">   88</a></span>&#160;<span class="preprocessor">#define BIPOD 5</span></div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aa17b1facb7991c58a5993d33beca1759">   89</a></span>&#160;<span class="preprocessor">#define XZ_GANTRY 8</span></div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a17b27ddc29ac80325bb910a0b6561a7c">   90</a></span>&#160;<span class="preprocessor">#define ZX_GANTRY 9</span></div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ab4b168024599010b1cdfdc52cff9ef3a">   91</a></span>&#160;<span class="preprocessor">#define GANTRY_FAKE 10</span></div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a0806b49c5db57d53ef5c5db8c3c263f6">   93</a></span>&#160;<span class="preprocessor">#define WIZARD_STACK_SIZE 8</span></div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a51a5b301159df7d97803f02f5097e133">   94</a></span>&#160;<span class="preprocessor">#define IGNORE_COORDINATE 999999</span></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ac85bc5fa6bd3112dbab2f49eee06c228">   96</a></span>&#160;<span class="preprocessor">#define IS_MAC_TRUE(x) (defined(x) &amp;&amp; x!=0)</span></div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a0b56e91aa7aaed5114c7d7155c4a86d0">   97</a></span>&#160;<span class="preprocessor">#define IS_MAC_FALSE(x) (!defined(x) || x==0)</span></div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aa79b7cdd5786f0bf8ed0d7e90cb357e0">   98</a></span>&#160;<span class="preprocessor">#define HAS_PIN(x) (defined(x) &amp;&amp; x &gt; -1)</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment">// Uncomment if no analyzer is connected</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment">//#define ANALYZER</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="comment">// Channel-&gt;pin assignments</span></div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a5298b74d1c17dd4fdb7edd7ecc762990">  103</a></span>&#160;<span class="preprocessor">#define ANALYZER_CH0 63 // New move</span></div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aac2c3585d83addff66e2015e741d0c99">  104</a></span>&#160;<span class="preprocessor">#define ANALYZER_CH1 40 // Step loop</span></div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="_repetier_8h.html#af2973fcf8425b4a4c4752a52c6713c8f">  105</a></span>&#160;<span class="preprocessor">#define ANALYZER_CH2 53 // X Step</span></div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a82feee50d46677c33675d367b1a85af2">  106</a></span>&#160;<span class="preprocessor">#define ANALYZER_CH3 65 // Y Step</span></div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a6cbe32a87c3f0df036986af2333fc9e7">  107</a></span>&#160;<span class="preprocessor">#define ANALYZER_CH4 59 // X Direction</span></div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a01bd63846b5dd6859c16b11e6435b413">  108</a></span>&#160;<span class="preprocessor">#define ANALYZER_CH5 64 // Y Direction</span></div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ad0a2eedb5774ac5a46b3c4275126b815">  109</a></span>&#160;<span class="preprocessor">#define ANALYZER_CH6 58 // xsig</span></div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a62ce8e11506218f41528a9059d4ce83a">  110</a></span>&#160;<span class="preprocessor">#define ANALYZER_CH7 57 // ysig</span></div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor">#ifdef ANALYZER</span></div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="preprocessor">#define ANALYZER_ON(a) {WRITE(a,HIGH);}</span></div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="preprocessor">#define ANALYZER_OFF(a) {WRITE(a,LOW);}</span></div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a3c648c7bfb447c81831559d893ccc8b7">  116</a></span>&#160;<span class="preprocessor">#define ANALYZER_ON(a)</span></div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a3ce49d11930e4fbd232c0f8ad2e036b2">  117</a></span>&#160;<span class="preprocessor">#define ANALYZER_OFF(a)</span></div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a096f6d223bb5d11bebd9ce7535508fa2">  120</a></span>&#160;<span class="preprocessor">#define X_AXIS 0</span></div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ab9e30cc0a88c208dc662906171bb8265">  121</a></span>&#160;<span class="preprocessor">#define Y_AXIS 1</span></div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a702b4b323c595211ec77a5995d9ee155">  122</a></span>&#160;<span class="preprocessor">#define Z_AXIS 2</span></div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a43ee3a98156e221a0556a4cd4ae09a72">  123</a></span>&#160;<span class="preprocessor">#define E_AXIS 3</span></div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a05a3e3857a0cb355c18cc6b54f9b49e6">  124</a></span>&#160;<span class="preprocessor">#define VIRTUAL_AXIS 4</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">// How big an array to hold X_AXIS..&lt;MAX_AXIS&gt;</span></div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a52d9e7bef2c4cc5eef208d02434c0356">  126</a></span>&#160;<span class="preprocessor">#define Z_AXIS_ARRAY 3</span></div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aeeedce2ff89c311eaf570468c8a65143">  127</a></span>&#160;<span class="preprocessor">#define E_AXIS_ARRAY 4</span></div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ab86e7cf9677edebff2636280a74bc73a">  128</a></span>&#160;<span class="preprocessor">#define VIRTUAL_AXIS_ARRAY 5</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a39c05f3278addecba50a464d55758a42">  131</a></span>&#160;<span class="preprocessor">#define A_TOWER 0</span></div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ac4d174ca3c4d74783fa9a89667dc099d">  132</a></span>&#160;<span class="preprocessor">#define B_TOWER 1</span></div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a60f46be2578a7d31cd7444f9c6ecd6b1">  133</a></span>&#160;<span class="preprocessor">#define C_TOWER 2</span></div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a1af2907a6b7f6543b7d4c369e8901467">  134</a></span>&#160;<span class="preprocessor">#define TOWER_ARRAY 3</span></div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a73426b50f6e456e5c1556b4565709d6f">  135</a></span>&#160;<span class="preprocessor">#define E_TOWER_ARRAY 4</span></div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ada2f40f8c390192e11c232c758afcb57">  137</a></span>&#160;<span class="preprocessor">#define ANALOG_REF_AREF 0</span></div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ac4969cdff62b814d6be75510e4fd1f46">  138</a></span>&#160;<span class="preprocessor">#define ANALOG_REF_AVCC _BV(REFS0)</span></div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a1e9dea4096b6f1e3d0c3416ad4902370">  139</a></span>&#160;<span class="preprocessor">#define ANALOG_REF_INT_1_1 _BV(REFS1)</span></div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a3edc5729832b16c40d5df64fbfba0098">  140</a></span>&#160;<span class="preprocessor">#define ANALOG_REF_INT_2_56 _BV(REFS0) | _BV(REFS1)</span></div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="_repetier_8h.html#af5eb7e3dc57a2c282b06f32e51970839">  141</a></span>&#160;<span class="preprocessor">#define ANALOG_REF ANALOG_REF_AVCC</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ae71f787b42e8b39a92283fb4bd02fca4">  143</a></span>&#160;<span class="preprocessor">#define HOME_ORDER_XYZ 1</span></div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="_repetier_8h.html#acaa69567e5e964777590ff2e64c11136">  144</a></span>&#160;<span class="preprocessor">#define HOME_ORDER_XZY 2</span></div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a958d049e076cbb9d354183df8078a64a">  145</a></span>&#160;<span class="preprocessor">#define HOME_ORDER_YXZ 3</span></div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a9feb54edc2ae0621184d30a99c709999">  146</a></span>&#160;<span class="preprocessor">#define HOME_ORDER_YZX 4</span></div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a7a9e1a33c1089feef3d2a46f8dea8758">  147</a></span>&#160;<span class="preprocessor">#define HOME_ORDER_ZXY 5</span></div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a7162f95ed4e3656fb650598f0bfb84d8">  148</a></span>&#160;<span class="preprocessor">#define HOME_ORDER_ZYX 6</span></div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ac3e1bc579e1b5e70bf4767b366474a5a">  149</a></span>&#160;<span class="preprocessor">#define HOME_ORDER_ZXYTZ 7 // Needs hot hotend for correct homing</span></div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aec2368761050b5c9c3f664b61789cdd5">  150</a></span>&#160;<span class="preprocessor">#define HOME_ORDER_XYTZ 8 // Needs hot hotend for correct homing</span></div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aa44f5864b3b6dfe2bcdb109d4dc71ac6">  152</a></span>&#160;<span class="preprocessor">#define NO_CONTROLLER 0</span></div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ad69b611ef04e63a78a4120258237443e">  153</a></span>&#160;<span class="preprocessor">#define UICONFIG_CONTROLLER 1</span></div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a7ced8682a87cf6a99275b23deb397cf5">  154</a></span>&#160;<span class="preprocessor">#define CONTROLLER_SMARTRAMPS 2</span></div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a2b6b7e60f48a17b71205284a85823b30">  155</a></span>&#160;<span class="preprocessor">#define CONTROLLER_ADAFRUIT 3</span></div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aa7c6cd6134824277655822e08229a222">  156</a></span>&#160;<span class="preprocessor">#define CONTROLLER_FOLTYN 4</span></div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a98ce713d4c98d07b0107e4b5370fde95">  157</a></span>&#160;<span class="preprocessor">#define CONTROLLER_VIKI 5</span></div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a5ddbdb51bfa75e6e300da4f3f6864039">  158</a></span>&#160;<span class="preprocessor">#define CONTROLLER_MEGATRONIC 6</span></div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a23a1cd87dd46c3e6905671dc6c9f531a">  159</a></span>&#160;<span class="preprocessor">#define CONTROLLER_RADDS 7</span></div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a48bb0f7804267065577a41c5f0f15de1">  160</a></span>&#160;<span class="preprocessor">#define CONTROLLER_PIBOT20X4 8</span></div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a445ddb3a973f48079e0ff68fb146c9c9">  161</a></span>&#160;<span class="preprocessor">#define CONTROLLER_PIBOT16X2 9</span></div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="_repetier_8h.html#adfa632a801ccb66b497d48d798ef6c5b">  162</a></span>&#160;<span class="preprocessor">#define CONTROLLER_GADGETS3D_SHIELD 10</span></div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ae0f28e16b404683c3f6806fc2578dc5e">  163</a></span>&#160;<span class="preprocessor">#define CONTROLLER_REPRAPDISCOUNT_GLCD 11</span></div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a7f2aa890d2af33450d75d2859cf37bf2">  164</a></span>&#160;<span class="preprocessor">#define CONTROLLER_FELIX 12</span></div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aed413f2e3697011032fd2c9b02a8bf35">  165</a></span>&#160;<span class="preprocessor">#define CONTROLLER_RAMBO 13</span></div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a0f4d29024b79d308c76b588bd0f1a354">  166</a></span>&#160;<span class="preprocessor">#define CONTROLLER_OPENHARDWARE_LCD2004 14</span></div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ae37e7cd4566e136e8627ae71583d7d10">  167</a></span>&#160;<span class="preprocessor">#define CONTROLLER_SANGUINOLOLU_PANELOLU2 15</span></div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="_repetier_8h.html#acf94b8dd1b235bd639d0d3183dfe2deb">  168</a></span>&#160;<span class="preprocessor">#define CONTROLLER_GAMEDUINO2 16</span></div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a0822242b79749f01a435dba789955663">  169</a></span>&#160;<span class="preprocessor">#define CONTROLLER_MIREGLI 17</span></div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a1c70dde95143072ea66b783f67b1aa9c">  170</a></span>&#160;<span class="preprocessor">#define CONTROLLER_GATE_3NOVATICA 18</span></div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a6918d9eb302106c66b2a28b3c1fc72f8">  171</a></span>&#160;<span class="preprocessor">#define CONTROLLER_SPARKLCD 19</span></div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ace01abc16a0bef14e4696ce8ece75fd8">  172</a></span>&#160;<span class="preprocessor">#define CONTROLLER_BAM_DICE_DUE 20</span></div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a2d6f43480f2493b7bb86207a50847f13">  173</a></span>&#160;<span class="preprocessor">#define CONTROLLER_VIKI2 21</span></div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ac29a55fe5609fce927dceb33325aa175">  174</a></span>&#160;<span class="preprocessor">#define CONTROLLER_LCD_MP_PHARAOH_DUE 22</span></div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a8cdf97d2f14056879f97ab3174aa68b3">  175</a></span>&#160;<span class="preprocessor">#define CONTROLLER_SPARKLCD_ADAPTER 23</span></div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ab5d0972d9e20e2caae79513ad40ddfa8">  176</a></span>&#160;<span class="preprocessor">#define CONTROLLER_ZONESTAR 24</span></div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a0b4e7324e157ec7fbf849551601ea998">  177</a></span>&#160;<span class="preprocessor">#define CONTROLLER_FELIX_DUE 405</span></div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aec806af26b5ea362ea0f6e88b8eeb890">  178</a></span>&#160;<span class="preprocessor">#define CONTROLLER_ORCABOTXXLPRO2 25</span></div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a4d5a2ead2ab8735be930b4716cfd274c">  179</a></span>&#160;<span class="preprocessor">#define CONTROLLER_AZSMZ_12864 26</span></div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ac668ab528f39eb8ab22eaf30ab138a0d">  180</a></span>&#160;<span class="preprocessor">#define CONTROLLER_REPRAPWORLD_GLCD 27</span></div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="comment">//direction flags</span></div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a0ff17c6043905745b79bf1d24c2e184d">  183</a></span>&#160;<span class="preprocessor">#define X_DIRPOS 1</span></div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a7decd358b5027648b849b4315d9d69bd">  184</a></span>&#160;<span class="preprocessor">#define Y_DIRPOS 2</span></div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a243a44f9d03b95e91655196de93725ec">  185</a></span>&#160;<span class="preprocessor">#define Z_DIRPOS 4</span></div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ae144dbd37080b5cbd5acde04254c9937">  186</a></span>&#160;<span class="preprocessor">#define E_DIRPOS 8</span></div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a5eccf79664411f45656659ac657d9a69">  187</a></span>&#160;<span class="preprocessor">#define XYZ_DIRPOS 7</span></div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="comment">//step flags</span></div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a6033d564371859ed81b243b94309a373">  189</a></span>&#160;<span class="preprocessor">#define XSTEP 16</span></div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ab810941c940603c826ff25dce2719025">  190</a></span>&#160;<span class="preprocessor">#define YSTEP 32</span></div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a1babd87068d59b3ec0ae7836e6a26787">  191</a></span>&#160;<span class="preprocessor">#define ZSTEP 64</span></div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a988d5a21821a2084b4041195c84a2d58">  192</a></span>&#160;<span class="preprocessor">#define ESTEP 128</span></div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="comment">//combo&#39;s</span></div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a1f9f73c5ba9f5151d3fa3f79605357e3">  194</a></span>&#160;<span class="preprocessor">#define XYZ_STEP 112</span></div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a25aebe0b6f18b7c58a0a41889bc3afae">  195</a></span>&#160;<span class="preprocessor">#define XY_STEP 48</span></div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aa990a5d13211af20034f6d36d48b63b2">  196</a></span>&#160;<span class="preprocessor">#define XYZE_STEP 240</span></div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a34fa5706d1eef1e7a86feb2f51373062">  197</a></span>&#160;<span class="preprocessor">#define E_STEP_DIRPOS 136</span></div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a9ba8fac639c065a887654ba6fc789177">  198</a></span>&#160;<span class="preprocessor">#define Y_STEP_DIRPOS 34</span></div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aa4accabb4b3df874bdeeb21c95e3742a">  199</a></span>&#160;<span class="preprocessor">#define X_STEP_DIRPOS 17</span></div><div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a138a918c19ac5fa582e0c2432d7adbb1">  200</a></span>&#160;<span class="preprocessor">#define Z_STEP_DIRPOS 68</span></div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a41c95d3d7b7236aad7cc5d8f821c3d30">  202</a></span>&#160;<span class="preprocessor">#define PRINTER_MODE_FFF 0</span></div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ae93983797294608ddd2dde00f2fc1842">  203</a></span>&#160;<span class="preprocessor">#define PRINTER_MODE_LASER 1</span></div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a09bdace6e6745819d3dbd8008d39c990">  204</a></span>&#160;<span class="preprocessor">#define PRINTER_MODE_CNC 2</span></div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="_repetier_8h.html#af51357e5bb30626d4034358bba972ad3">  206</a></span>&#160;<span class="preprocessor">#define ILLEGAL_Z_PROBE -888</span></div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="comment">// we can not prevent this as some configurations need a parameter and others not</span></div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="preprocessor">#pragma GCC diagnostic ignored &quot;-Wunused-parameter&quot;</span></div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="preprocessor">#pragma GCC diagnostic ignored &quot;-Wunused-variable&quot;</span></div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_configuration_8h.html">Configuration.h</a>&quot;</span></div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="preprocessor">#if (LASER_PWM_MAX &gt; 255 &amp;&amp; SUPPORT_LASER) || (CNC_PWM_MAX &gt; 255 &amp;&amp; SUPPORT_CNC)</span></div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="keyword">typedef</span> uint16_t <a class="code" href="_repetier_8h.html#ab86b7a680d4bf92b92a3f085bdce6332">secondspeed_t</a>;</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ab86b7a680d4bf92b92a3f085bdce6332">  217</a></span>&#160;<span class="keyword">typedef</span> uint8_t <a class="code" href="_repetier_8h.html#ab86b7a680d4bf92b92a3f085bdce6332">secondspeed_t</a>;</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="preprocessor">#ifndef SHARED_EXTRUDER_HEATER</span></div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="preprocessor">#define SHARED_EXTRUDER_HEATER 0</span></div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<span class="preprocessor">#ifndef DUAL_X_AXIS</span></div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;<span class="preprocessor">#define DUAL_X_AXIS 0</span></div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<span class="preprocessor">#ifndef LAZY_DUAL_X_AXIS</span></div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ae772170da3335749916833bfd22ef198">  229</a></span>&#160;<span class="preprocessor">#define LAZY_DUAL_X_AXIS 0</span></div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="preprocessor">#ifndef MOVE_X_WHEN_HOMED</span></div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a8192ba8439edce4a333a0975af289b21">  233</a></span>&#160;<span class="preprocessor">#define MOVE_X_WHEN_HOMED 0</span></div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="preprocessor">#ifndef MOVE_Y_WHEN_HOMED</span></div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aa40c857ce9c9e318c234d14e10f7ca77">  236</a></span>&#160;<span class="preprocessor">#define MOVE_Y_WHEN_HOMED 0</span></div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;<span class="preprocessor">#ifndef MOVE_Z_WHEN_HOMED</span></div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a1bea9e12c4f86c43b64b98fe71ff833d">  239</a></span>&#160;<span class="preprocessor">#define MOVE_Z_WHEN_HOMED 0</span></div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<span class="preprocessor">#if SHARED_EXTRUDER_HEATER || MIXING_EXTRUDER</span></div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="preprocessor">#undef EXT1_HEATER_PIN</span></div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;<span class="preprocessor">#undef EXT2_HEATER_PIN</span></div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<span class="preprocessor">#undef EXT3_HEATER_PIN</span></div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;<span class="preprocessor">#undef EXT4_HEATER_PIN</span></div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;<span class="preprocessor">#undef EXT5_HEATER_PIN</span></div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;<span class="preprocessor">#define EXT1_HEATER_PIN -1</span></div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="preprocessor">#define EXT2_HEATER_PIN -1</span></div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="preprocessor">#define EXT3_HEATER_PIN -1</span></div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="preprocessor">#define EXT4_HEATER_PIN -1</span></div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="preprocessor">#define EXT5_HEATER_PIN -1</span></div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="preprocessor">#ifndef BOARD_FAN_SPEED</span></div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;<span class="preprocessor">#define BOARD_FAN_SPEED</span></div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="preprocessor">#ifndef MAX_JERK_DISTANCE</span></div><div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="_repetier_8h.html#af698c714208a6cabd82e023eeac295d1">  260</a></span>&#160;<span class="preprocessor">#define MAX_JERK_DISTANCE 0.6</span></div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="preprocessor">#if defined(FAST_COREXYZ) &amp;&amp; !(DRIVE_SYSTEM==XY_GANTRY || DRIVE_SYSTEM==YX_GANTRY || DRIVE_SYSTEM==XZ_GANTRY || DRIVE_SYSTEM==ZX_GANTRY || DRIVE_SYSTEM==GANTRY_FAKE)</span></div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="preprocessor">#undef FAST_COREXYZ</span></div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="preprocessor">#ifdef FAST_COREXYZ</span></div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="preprocessor">#if DELTA_SEGMENTS_PER_SECOND_PRINT &gt; 30</span></div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;<span class="preprocessor">#undef DELTA_SEGMENTS_PER_SECOND_PRINT</span></div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<span class="preprocessor">#define DELTA_SEGMENTS_PER_SECOND_PRINT 30 // core is linear, no subsegments needed</span></div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;<span class="preprocessor">#if DELTA_SEGMENTS_PER_SECOND_MOVE &gt; 30</span></div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;<span class="preprocessor">#undef DELTA_SEGMENTS_PER_SECOND_MOVE</span></div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;<span class="preprocessor">#define DELTA_SEGMENTS_PER_SECOND_MOVE 30</span></div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div><div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a84204bb84b4bcc1ecc8acf56c42958bf">  277</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="_repetier_8h.html#a84204bb84b4bcc1ecc8acf56c42958bf">memcopy2</a>(<span class="keywordtype">void</span> *dest,<span class="keywordtype">void</span> *source) {</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;        *((int16_t*)dest) = *((int16_t*)source);</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;}</div><div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aea2623497998c501f251cff6af09dc5e">  280</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="_repetier_8h.html#aea2623497998c501f251cff6af09dc5e">memcopy4</a>(<span class="keywordtype">void</span> *dest,<span class="keywordtype">void</span> *source) {</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;        *((int32_t*)dest) = *((int32_t*)source);</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;}</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;<span class="preprocessor">#ifndef JSON_OUTPUT</span></div><div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a4f4933f1ff2025b4530be0fe03731bbd">  285</a></span>&#160;<span class="preprocessor">#define JSON_OUTPUT 0</span></div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;<span class="preprocessor">#if !defined(ZPROBE_MIN_TEMPERATURE) &amp;&amp; defined(ZHOME_MIN_TEMPERATURE)</span></div><div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a04f0a01e5918336cc5228127659e0ae9">  289</a></span>&#160;<span class="preprocessor">#define ZPROBE_MIN_TEMPERATURE ZHOME_MIN_TEMPERATURE</span></div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;<span class="preprocessor">#if FEATURE_Z_PROBE &amp;&amp; Z_PROBE_PIN &lt; 0</span></div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="preprocessor">#error You need to define Z_PROBE_PIN to use z probe!</span></div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="preprocessor">#if DISTORTION_CORRECTION</span></div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="preprocessor">#if !FEATURE_Z_PROBE</span></div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;<span class="preprocessor">#error Distortion correction requires the z probe feature to be enabled and configured!</span></div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="preprocessor">#ifndef MAX_ROOM_TEMPERATURE</span></div><div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ace66326af41d98a46c692d7a5f42ed5c">  303</a></span>&#160;<span class="preprocessor">#define MAX_ROOM_TEMPERATURE 40</span></div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<span class="preprocessor">#ifndef ZHOME_X_POS</span></div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;<span class="preprocessor">#define ZHOME_X_POS IGNORE_COORDINATE</span></div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;<span class="preprocessor">#ifndef ZHOME_Y_POS</span></div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;<span class="preprocessor">#define ZHOME_Y_POS IGNORE_COORDINATE</span></div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="comment">// MS1 MS2 Stepper Driver Micro stepping mode table</span></div><div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ae4a18425a9380f922180002e116f5b59">  313</a></span>&#160;<span class="preprocessor">#define MICROSTEP1 LOW,LOW</span></div><div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a530d5aeb26ecda2a4a2b5fc1a2106b6d">  314</a></span>&#160;<span class="preprocessor">#define MICROSTEP2 HIGH,LOW</span></div><div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ac5d700f5a37992e5569490480147a12d">  315</a></span>&#160;<span class="preprocessor">#define MICROSTEP4 LOW,HIGH</span></div><div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a6a739edfdfab19f389281fe006f2b1d8">  316</a></span>&#160;<span class="preprocessor">#define MICROSTEP8 HIGH,HIGH</span></div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<span class="preprocessor">#if (MOTHERBOARD == 501) || MOTHERBOARD==502</span></div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;<span class="preprocessor">#define MICROSTEP16 LOW,LOW</span></div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a5a4feee49d4cb0044aad9b8df35d10e8">  320</a></span>&#160;<span class="preprocessor">#define MICROSTEP16 HIGH,HIGH</span></div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a4352934c024d29bda1fe9e4dcb774e5f">  322</a></span>&#160;<span class="preprocessor">#define MICROSTEP32 HIGH,HIGH</span></div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;</div><div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="_repetier_8h.html#af6168edd26520974b8660182d040051a">  324</a></span>&#160;<span class="preprocessor">#define GCODE_BUFFER_SIZE 1</span></div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;<span class="preprocessor">#ifndef FEATURE_BABYSTEPPING</span></div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<span class="preprocessor">#define FEATURE_BABYSTEPPING 0</span></div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;<span class="preprocessor">#define BABYSTEP_MULTIPLICATOR 1</span></div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;<span class="preprocessor">#if !defined(Z_PROBE_REPETITIONS) || Z_PROBE_REPETITIONS &lt; 1</span></div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<span class="preprocessor">#define Z_PROBE_SWITCHING_DISTANCE 0.5 // Distance to safely untrigger probe</span></div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<span class="preprocessor">#define Z_PROBE_REPETITIONS 1</span></div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;<span class="preprocessor">#ifndef MINMAX_HARDWARE_ENDSTOP_Z2</span></div><div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a8f0c7182098383530932240adc3e7509">  337</a></span>&#160;<span class="preprocessor">#define MINMAX_HARDWARE_ENDSTOP_Z2 0</span></div><div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="_repetier_8h.html#abfa432e37c97f6368d5513efcefd229a">  338</a></span>&#160;<span class="preprocessor">#define Z2_MINMAX_PIN -1</span></div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;<span class="preprocessor">#if MINMAX_HARDWARE_ENDSTOP_Z2 &amp;&amp; Z2_MINMAX_PIN &gt; -1</span></div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;<span class="preprocessor">#undef MULTI_ZENDSTOP_HOMING </span></div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;<span class="preprocessor">#define MULTI_ZENDSTOP_HOMING 1</span></div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;<span class="preprocessor">#define MULTI_ZENDSTOP_ALL 3</span></div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a19fa6b24e74c75ed5f0c3893a25ddd6c">  346</a></span>&#160;<span class="preprocessor">#define MULTI_ZENDSTOP_HOMING 0</span></div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;</div><div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a73708ff09bb1146a609cf387ec0abb40">  349</a></span>&#160;<span class="preprocessor">#define SPEED_MIN_MILLIS 400</span></div><div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ac71536ab59d4ae217590e9e2bb70ef06">  350</a></span>&#160;<span class="preprocessor">#define SPEED_MAX_MILLIS 60</span></div><div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="_repetier_8h.html#af6775b549e42844b7fa0dae6a6b26dbc">  351</a></span>&#160;<span class="preprocessor">#define SPEED_MAGNIFICATION 100.0f</span></div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;</div><div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a4931f1da81b428b4f860881821b0ce0b">  353</a></span>&#160;<span class="preprocessor">#define SOFTWARE_LEVELING ((FEATURE_SOFTWARE_LEVELING) &amp;&amp; (DRIVE_SYSTEM==DELTA))</span></div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;<span class="preprocessor">#if !defined(ROD_RADIUS) &amp;&amp; DRIVE_SYSTEM == DELTA</span></div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;<span class="preprocessor">#define ROD_RADIUS (PRINTER_RADIUS-END_EFFECTOR_HORIZONTAL_OFFSET-CARRIAGE_HORIZONTAL_OFFSET)</span></div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;<span class="preprocessor">#ifndef UI_SPEEDDEPENDENT_POSITIONING</span></div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;<span class="preprocessor">#define UI_SPEEDDEPENDENT_POSITIONING 1</span></div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;<span class="preprocessor">#if DRIVE_SYSTEM==DELTA || DRIVE_SYSTEM==TUGA || DRIVE_SYSTEM==BIPOD || defined(FAST_COREXYZ)</span></div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;<span class="preprocessor">#define NONLINEAR_SYSTEM 1</span></div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aa26cdbbda98588e6988b4d05a388e28a">  367</a></span>&#160;<span class="preprocessor">#define NONLINEAR_SYSTEM 0</span></div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;<span class="preprocessor">#ifdef FEATURE_Z_PROBE</span></div><div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="_repetier_8h.html#afe671b627b7b8f5f2971605e80d05740">  371</a></span>&#160;<span class="preprocessor">#define MANUAL_CONTROL 1</span></div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;</div><div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a5371b5ed562796618b25392f7b4d5ffe">  374</a></span>&#160;<span class="preprocessor">#define GANTRY ( DRIVE_SYSTEM==XY_GANTRY || DRIVE_SYSTEM==YX_GANTRY || DRIVE_SYSTEM==XZ_GANTRY || DRIVE_SYSTEM==ZX_GANTRY || DRIVE_SYSTEM==GANTRY_FAKE)</span></div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;<span class="comment">//Step to split a circle in small Lines</span></div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;<span class="preprocessor">#ifndef MM_PER_ARC_SEGMENT</span></div><div class="line"><a name="l00378"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ac83660f5e6cace7103e3353dacdebb9f">  378</a></span>&#160;<span class="preprocessor">#define MM_PER_ARC_SEGMENT 1</span></div><div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a6ae697d20acb6ce5e8a6419caba282ea">  379</a></span>&#160;<span class="preprocessor">#define MM_PER_ARC_SEGMENT_BIG 3</span></div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;<span class="preprocessor">#define MM_PER_ARC_SEGMENT_BIG MM_PER_ARC_SEGMENT</span></div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;<span class="comment">//After this count of steps a new SIN / COS calculation is started to correct the circle interpolation</span></div><div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aece6997190f51cd83a9870f00c7818cd">  384</a></span>&#160;<span class="preprocessor">#define N_ARC_CORRECTION 25</span></div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;<span class="comment">// Test for shared cooler</span></div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;<span class="preprocessor">#if NUM_EXTRUDER == 6 &amp;&amp; EXT0_EXTRUDER_COOLER_PIN &gt; -1 &amp;&amp; EXT0_EXTRUDER_COOLER_PIN == EXT1_EXTRUDER_COOLER_PIN &amp;&amp; EXT2_EXTRUDER_COOLER_PIN == EXT3_EXTRUDER_COOLER_PIN &amp;&amp; EXT4_EXTRUDER_COOLER_PIN == EXT5_EXTRUDER_COOLER_PIN &amp;&amp; EXT0_EXTRUDER_COOLER_PIN == EXT2_EXTRUDER_COOLER_PIN &amp;&amp; EXT0_EXTRUDER_COOLER_PIN == EXT4_EXTRUDER_COOLER_PIN</span></div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;<span class="preprocessor">#define SHARED_COOLER 1</span></div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;<span class="preprocessor">#elif NUM_EXTRUDER == 5 &amp;&amp; EXT0_EXTRUDER_COOLER_PIN &gt; -1 &amp;&amp; EXT0_EXTRUDER_COOLER_PIN == EXT1_EXTRUDER_COOLER_PIN &amp;&amp; EXT2_EXTRUDER_COOLER_PIN == EXT3_EXTRUDER_COOLER_PIN &amp;&amp; EXT3_EXTRUDER_COOLER_PIN == EXT5_EXTRUDER_COOLER_PIN &amp;&amp; EXT0_EXTRUDER_COOLER_PIN == EXT2_EXTRUDER_COOLER_PIN</span></div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;<span class="preprocessor">#define SHARED_COOLER 1</span></div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;<span class="preprocessor">#elif NUM_EXTRUDER == 4 &amp;&amp; EXT0_EXTRUDER_COOLER_PIN &gt; -1 &amp;&amp; EXT0_EXTRUDER_COOLER_PIN == EXT1_EXTRUDER_COOLER_PIN &amp;&amp; EXT2_EXTRUDER_COOLER_PIN == EXT3_EXTRUDER_COOLER_PIN &amp;&amp; EXT0_EXTRUDER_COOLER_PIN == EXT2_EXTRUDER_COOLER_PIN</span></div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;<span class="preprocessor">#define SHARED_COOLER 1</span></div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;<span class="preprocessor">#elif NUM_EXTRUDER == 3 &amp;&amp; EXT0_EXTRUDER_COOLER_PIN &gt; -1 &amp;&amp; EXT0_EXTRUDER_COOLER_PIN == EXT1_EXTRUDER_COOLER_PIN &amp;&amp; EXT2_EXTRUDER_COOLER_PIN == EXT0_EXTRUDER_COOLER_PIN</span></div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;<span class="preprocessor">#define SHARED_COOLER 1</span></div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;<span class="preprocessor">#elif NUM_EXTRUDER == 2 &amp;&amp; EXT0_EXTRUDER_COOLER_PIN &gt; -1 &amp;&amp; EXT0_EXTRUDER_COOLER_PIN == EXT1_EXTRUDER_COOLER_PIN</span></div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;<span class="preprocessor">#define SHARED_COOLER 1</span></div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a909dfbbddd08d7e186fb056d87af58c7">  398</a></span>&#160;<span class="preprocessor">#define SHARED_COOLER 0</span></div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;<span class="preprocessor">#ifndef START_STEP_WITH_HIGH</span></div><div class="line"><a name="l00402"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a822c1a02b1b1bfef91c8042928020b23">  402</a></span>&#160;<span class="preprocessor">#define START_STEP_WITH_HIGH 1</span></div><div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;<span class="preprocessor">#if NUM_EXTRUDER &gt; 0 &amp;&amp; EXT0_TEMPSENSOR_TYPE == 101</span></div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;<span class="preprocessor">#define SUPPORT_MAX6675</span></div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;<span class="preprocessor">#if NUM_EXTRUDER &gt; 0 &amp;&amp; EXT0_TEMPSENSOR_TYPE == 102</span></div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;<span class="preprocessor">#define SUPPORT_MAX31855</span></div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;<span class="comment">// Test for shared coolers between extruders and mainboard</span></div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;<span class="preprocessor">#if EXT0_EXTRUDER_COOLER_PIN &gt; -1 &amp;&amp; EXT0_EXTRUDER_COOLER_PIN == FAN_BOARD_PIN</span></div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;<span class="preprocessor">#define SHARED_COOLER_BOARD_EXT 1</span></div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a86ffd5549be4d2647ac04a4748f3b054">  417</a></span>&#160;<span class="preprocessor">#define SHARED_COOLER_BOARD_EXT 0</span></div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;<span class="preprocessor">#if defined(UI_SERVO_CONTROL) &amp;&amp; UI_SERVO_CONTROL &gt; FEATURE_SERVO</span></div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;<span class="preprocessor">#undef UI_SERVO_CONTROL</span></div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;<span class="preprocessor">#define UI_SERVO_CONTROL FEATURE_SERVO</span></div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;<span class="preprocessor">#if (defined(EXT0_JAM_PIN) &amp;&amp; EXT0_JAM_PIN &gt; -1) || (defined(EXT1_JAM_PIN) &amp;&amp; EXT1_JAM_PIN &gt; -1) || (defined(EXT2_JAM_PIN) &amp;&amp; EXT2_JAM_PIN &gt; -1) || (defined(EXT3_JAM_PIN) &amp;&amp; EXT3_JAM_PIN &gt; -1) || (defined(EXT4_JAM_PIN) &amp;&amp; EXT4_JAM_PIN &gt; -1) || (defined(EXT5_JAM_PIN) &amp;&amp; EXT5_JAM_PIN &gt; -1)</span></div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;<span class="preprocessor">#define EXTRUDER_JAM_CONTROL 1</span></div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00428"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a397c2c8f3b8eff942a5cf6d6b55a0d20">  428</a></span>&#160;<span class="preprocessor">#define EXTRUDER_JAM_CONTROL 0</span></div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;<span class="preprocessor">#ifndef JAM_METHOD</span></div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;<span class="preprocessor">#define JAM_METHOD 1</span></div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;<span class="preprocessor">#if NUM_EXTRUDER &gt; 0 &amp;&amp; EXT0_TEMPSENSOR_TYPE &lt; 101</span></div><div class="line"><a name="l00435"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a78ddabb3146674f91a7c99c94f33e115">  435</a></span>&#160;<span class="preprocessor">#define EXT0_ANALOG_INPUTS 1</span></div><div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a63db9e0d133efdc02c1ae1aa5ab79b97">  436</a></span>&#160;<span class="preprocessor">#define EXT0_SENSOR_INDEX 0</span></div><div class="line"><a name="l00437"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aa527bf5972c8a4589a678c648cf816fc">  437</a></span>&#160;<span class="preprocessor">#define EXT0_ANALOG_CHANNEL EXT0_TEMPSENSOR_PIN</span></div><div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a185008e46a2795212d1deb690290103b">  438</a></span>&#160;<span class="preprocessor">#define ACCOMMA0 ,</span></div><div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;<span class="preprocessor">#define ACCOMMA0</span></div><div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;<span class="preprocessor">#define EXT0_ANALOG_INPUTS 0</span></div><div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;<span class="preprocessor">#define EXT0_SENSOR_INDEX EXT0_TEMPSENSOR_PIN</span></div><div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;<span class="preprocessor">#define EXT0_ANALOG_CHANNEL</span></div><div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;</div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;<span class="preprocessor">#if NUM_EXTRUDER &gt; 1 &amp;&amp; EXT1_TEMPSENSOR_TYPE &lt; 101</span></div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;<span class="preprocessor">#define EXT1_ANALOG_INPUTS 1</span></div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;<span class="preprocessor">#define EXT1_SENSOR_INDEX EXT0_ANALOG_INPUTS</span></div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;<span class="preprocessor">#define EXT1_ANALOG_CHANNEL ACCOMMA0 EXT1_TEMPSENSOR_PIN</span></div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;<span class="preprocessor">#define ACCOMMA1 ,</span></div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00452"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ab1665538bd65868e6b3f10106b1978fc">  452</a></span>&#160;<span class="preprocessor">#define ACCOMMA1 ACCOMMA0</span></div><div class="line"><a name="l00453"></a><span class="lineno"><a class="line" href="_repetier_8h.html#af1dc5d29050e54a592901f38c30adc89">  453</a></span>&#160;<span class="preprocessor">#define EXT1_ANALOG_INPUTS 0</span></div><div class="line"><a name="l00454"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ad586e399d95f53fb77894d5559fc98af">  454</a></span>&#160;<span class="preprocessor">#define EXT1_SENSOR_INDEX EXT1_TEMPSENSOR_PIN</span></div><div class="line"><a name="l00455"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aa6096f271e1e2c4efebb2cf5047663b0">  455</a></span>&#160;<span class="preprocessor">#define EXT1_ANALOG_CHANNEL</span></div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;</div><div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;<span class="preprocessor">#if NUM_EXTRUDER &gt; 2 &amp;&amp; EXT2_TEMPSENSOR_TYPE &lt; 101</span></div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;<span class="preprocessor">#define EXT2_ANALOG_INPUTS 1</span></div><div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;<span class="preprocessor">#define EXT2_SENSOR_INDEX EXT0_ANALOG_INPUTS+EXT1_ANALOG_INPUTS</span></div><div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;<span class="preprocessor">#define EXT2_ANALOG_CHANNEL ACCOMMA1 EXT2_TEMPSENSOR_PIN</span></div><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;<span class="preprocessor">#define ACCOMMA2 ,</span></div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00464"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a255b4df2230f4460f0fa0eb270037971">  464</a></span>&#160;<span class="preprocessor">#define ACCOMMA2 ACCOMMA1</span></div><div class="line"><a name="l00465"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a4a7420cae60dab14fec906322a32f887">  465</a></span>&#160;<span class="preprocessor">#define EXT2_ANALOG_INPUTS 0</span></div><div class="line"><a name="l00466"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a079d670b702e239709487e60e9f02d47">  466</a></span>&#160;<span class="preprocessor">#define EXT2_SENSOR_INDEX EXT2_TEMPSENSOR_PIN</span></div><div class="line"><a name="l00467"></a><span class="lineno"><a class="line" href="_repetier_8h.html#af612af5d0c783a148c326089d313f4eb">  467</a></span>&#160;<span class="preprocessor">#define EXT2_ANALOG_CHANNEL</span></div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;</div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;<span class="preprocessor">#if NUM_EXTRUDER &gt; 3 &amp;&amp; EXT3_TEMPSENSOR_TYPE &lt; 101</span></div><div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;<span class="preprocessor">#define EXT3_ANALOG_INPUTS 1</span></div><div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;<span class="preprocessor">#define EXT3_SENSOR_INDEX EXT0_ANALOG_INPUTS+EXT1_ANALOG_INPUTS+EXT2_ANALOG_INPUTS</span></div><div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;<span class="preprocessor">#define EXT3_ANALOG_CHANNEL ACCOMMA2 EXT3_TEMPSENSOR_PIN</span></div><div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;<span class="preprocessor">#define ACCOMMA3 ,</span></div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00476"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a3633bb8132f7ffbec4cca86806bb0d9a">  476</a></span>&#160;<span class="preprocessor">#define ACCOMMA3 ACCOMMA2</span></div><div class="line"><a name="l00477"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aeb355d86d7bf326da56152b5d63346e3">  477</a></span>&#160;<span class="preprocessor">#define EXT3_ANALOG_INPUTS 0</span></div><div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ae00a5a13929e118f0388d078e7d73a88">  478</a></span>&#160;<span class="preprocessor">#define EXT3_SENSOR_INDEX EXT3_TEMPSENSOR_PIN</span></div><div class="line"><a name="l00479"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ae4248c519e4d871cb2922e7716073a90">  479</a></span>&#160;<span class="preprocessor">#define EXT3_ANALOG_CHANNEL</span></div><div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;</div><div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;<span class="preprocessor">#if NUM_EXTRUDER &gt; 4 &amp;&amp; EXT4_TEMPSENSOR_TYPE &lt; 101</span></div><div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;<span class="preprocessor">#define EXT4_ANALOG_INPUTS 1</span></div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;<span class="preprocessor">#define EXT4_SENSOR_INDEX EXT0_ANALOG_INPUTS+EXT1_ANALOG_INPUTS+EXT2_ANALOG_INPUTS+EXT3_ANALOG_INPUTS</span></div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;<span class="preprocessor">#define EXT4_ANALOG_CHANNEL ACCOMMA3 EXT4_TEMPSENSOR_PIN</span></div><div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;<span class="preprocessor">#define ACCOMMA4 ,</span></div><div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00488"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a7a969f356bfa51bcf4453d5afe31f7c9">  488</a></span>&#160;<span class="preprocessor">#define ACCOMMA4 ACCOMMA3</span></div><div class="line"><a name="l00489"></a><span class="lineno"><a class="line" href="_repetier_8h.html#abcf7e2c47a7781e44a2b11a4c25ac15b">  489</a></span>&#160;<span class="preprocessor">#define EXT4_ANALOG_INPUTS 0</span></div><div class="line"><a name="l00490"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a29e8b945105ba7c28a7028497013427e">  490</a></span>&#160;<span class="preprocessor">#define EXT4_SENSOR_INDEX EXT4_TEMPSENSOR_PIN</span></div><div class="line"><a name="l00491"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a88386c7ccad4ff8cbe91511cb66efb74">  491</a></span>&#160;<span class="preprocessor">#define EXT4_ANALOG_CHANNEL</span></div><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;</div><div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;<span class="preprocessor">#if NUM_EXTRUDER &gt; 5 &amp;&amp; EXT5_TEMPSENSOR_TYPE &lt; 101</span></div><div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;<span class="preprocessor">#define EXT5_ANALOG_INPUTS 1</span></div><div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;<span class="preprocessor">#define EXT5_SENSOR_INDEX EXT0_ANALOG_INPUTS+EXT1_ANALOG_INPUTS+EXT2_ANALOG_INPUTS+EXT3_ANALOG_INPUTS+EXT4_ANALOG_INPUTS</span></div><div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;<span class="preprocessor">#define EXT5_ANALOG_CHANNEL ACCOMMA4 EXT5_TEMPSENSOR_PIN</span></div><div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;<span class="preprocessor">#define ACCOMMA5 ,</span></div><div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00500"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a539e5b1dccbeb47c6f14926a61db4777">  500</a></span>&#160;<span class="preprocessor">#define ACCOMMA5 ACCOMMA4</span></div><div class="line"><a name="l00501"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a44cdb7c10844c09d7dad88f1371899e6">  501</a></span>&#160;<span class="preprocessor">#define EXT5_ANALOG_INPUTS 0</span></div><div class="line"><a name="l00502"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aad3a8c81b889ce5bb8b36365a1a3d4f4">  502</a></span>&#160;<span class="preprocessor">#define EXT5_SENSOR_INDEX EXT5_TEMPSENSOR_PIN</span></div><div class="line"><a name="l00503"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a7f3a2301e20f6d00fb8680afac16fde5">  503</a></span>&#160;<span class="preprocessor">#define EXT5_ANALOG_CHANNEL</span></div><div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;</div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;<span class="preprocessor">#if HAVE_HEATED_BED &amp;&amp; HEATED_BED_SENSOR_TYPE &lt; 101</span></div><div class="line"><a name="l00507"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a2197052fdb52ee6cb71080acbff18949">  507</a></span>&#160;<span class="preprocessor">#define BED_ANALOG_INPUTS 1</span></div><div class="line"><a name="l00508"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a4b3b31cb6cf54a97c49b17403d52b80e">  508</a></span>&#160;<span class="preprocessor">#define BED_SENSOR_INDEX EXT0_ANALOG_INPUTS+EXT1_ANALOG_INPUTS+EXT2_ANALOG_INPUTS+EXT3_ANALOG_INPUTS+EXT4_ANALOG_INPUTS+EXT5_ANALOG_INPUTS</span></div><div class="line"><a name="l00509"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a677d80ece2e32e2207721a5711fb1b5c">  509</a></span>&#160;<span class="preprocessor">#define BED_ANALOG_CHANNEL ACCOMMA5 HEATED_BED_SENSOR_PIN</span></div><div class="line"><a name="l00510"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a4fda36fc42b6175484e37c43171ed767">  510</a></span>&#160;<span class="preprocessor">#define BED_KOMMA ,</span></div><div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;<span class="preprocessor">#define BED_ANALOG_INPUTS 0</span></div><div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;<span class="preprocessor">#define BED_SENSOR_INDEX HEATED_BED_SENSOR_PIN</span></div><div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;<span class="preprocessor">#define BED_ANALOG_CHANNEL</span></div><div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;<span class="preprocessor">#define BED_KOMMA ACCOMMA5</span></div><div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;</div><div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;<span class="preprocessor">#if FAN_THERMO_THERMISTOR_PIN &gt; -1 &amp;&amp; FAN_THERMO_PIN &gt; -1</span></div><div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;<span class="preprocessor">#define THERMO_ANALOG_INPUTS 1</span></div><div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;<span class="preprocessor">#define THERMO_ANALOG_INDEX EXT0_ANALOG_INPUTS+EXT1_ANALOG_INPUTS+EXT2_ANALOG_INPUTS+EXT3_ANALOG_INPUTS+EXT4_ANALOG_INPUTS+EXT5_ANALOG_INPUTS+BED_ANALOG_INPUTS</span></div><div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;<span class="preprocessor">#define THERMO_ANALOG_CHANNEL BED_KOMMA FAN_THERMO_THERMISTOR_PIN</span></div><div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;<span class="preprocessor">#define THERMO_COMMA ,</span></div><div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00524"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ae1eeb748922ed14e9c11fbbfe8259414">  524</a></span>&#160;<span class="preprocessor">#define THERMO_ANALOG_INPUTS 0</span></div><div class="line"><a name="l00525"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a2e4ce01b5c0fba185a5d6a82e6fce657">  525</a></span>&#160;<span class="preprocessor">#define THERMO_ANALOG_CHANNEL</span></div><div class="line"><a name="l00526"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a9c04d5b71da3afeaacf2082e6ec9773f">  526</a></span>&#160;<span class="preprocessor">#define THERMO_COMMA BED_KOMMA</span></div><div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;</div><div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;<span class="preprocessor">#if defined(ADC_KEYPAD_PIN) &amp;&amp; (ADC_KEYPAD_PIN &gt; -1)</span></div><div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;<span class="preprocessor">#define KEYPAD_ANALOG_INPUTS 1</span></div><div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;<span class="preprocessor">#define KEYPAD_ANALOG_INDEX EXT0_ANALOG_INPUTS+EXT1_ANALOG_INPUTS+EXT2_ANALOG_INPUTS+EXT3_ANALOG_INPUTS+EXT4_ANALOG_INPUTS+EXT5_ANALOG_INPUTS+BED_ANALOG_INPUTS+THERMO_ANALOG_INPUTS</span></div><div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;<span class="preprocessor">#define KEYPAD_ANALOG_CHANNEL THERMO_COMMA ADC_KEYPAD_PIN</span></div><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00534"></a><span class="lineno"><a class="line" href="_repetier_8h.html#acecccca46fec3b822bbf72c11020792a">  534</a></span>&#160;<span class="preprocessor">#define KEYPAD_ANALOG_INPUTS 0</span></div><div class="line"><a name="l00535"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a24e572981754465fc8ab7ca674707268">  535</a></span>&#160;<span class="preprocessor">#define KEYPAD_ANALOG_CHANNEL</span></div><div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;</div><div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;<span class="preprocessor">#ifndef DEBUG_FREE_MEMORY</span></div><div class="line"><a name="l00539"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aab69ceb22658e65eeacd26b5e35d855f">  539</a></span>&#160;<span class="preprocessor">#define DEBUG_MEMORY</span></div><div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;<span class="preprocessor">#define DEBUG_MEMORY Commands::checkFreeMemory();</span></div><div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;</div><div class="line"><a name="l00544"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a47f367adb0145f606d0b180932bde905">  544</a></span>&#160;<span class="preprocessor">#define NUM_ANALOG_TEMP_SENSORS EXT0_ANALOG_INPUTS+EXT1_ANALOG_INPUTS+EXT2_ANALOG_INPUTS+EXT3_ANALOG_INPUTS+EXT4_ANALOG_INPUTS+EXT5_ANALOG_INPUTS+BED_ANALOG_INPUTS+THERMO_ANALOG_INPUTS</span></div><div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;</div><div class="line"><a name="l00546"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a4791bfa40258d27fa714fff6d8e62a30">  546</a></span>&#160;<span class="preprocessor">#define ANALOG_INPUTS (EXT0_ANALOG_INPUTS+EXT1_ANALOG_INPUTS+EXT2_ANALOG_INPUTS+EXT3_ANALOG_INPUTS+EXT4_ANALOG_INPUTS+EXT5_ANALOG_INPUTS+BED_ANALOG_INPUTS+THERMO_ANALOG_INPUTS+KEYPAD_ANALOG_INPUTS)</span></div><div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;<span class="preprocessor">#if ANALOG_INPUTS &gt; 0</span></div><div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;</div><div class="line"><a name="l00549"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a24a64a1f575248a06f4ba8689a578c3f">  549</a></span>&#160;<span class="preprocessor">#define  ANALOG_INPUT_CHANNELS {EXT0_ANALOG_CHANNEL EXT1_ANALOG_CHANNEL EXT2_ANALOG_CHANNEL EXT3_ANALOG_CHANNEL EXT4_ANALOG_CHANNEL EXT5_ANALOG_CHANNEL BED_ANALOG_CHANNEL THERMO_ANALOG_CHANNEL KEYPAD_ANALOG_CHANNEL}</span></div><div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;</div><div class="line"><a name="l00552"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a965a628ac06f6815452f8f5719cd86fb">  552</a></span>&#160;<span class="preprocessor">#define MENU_MODE_SD_MOUNTED 1</span></div><div class="line"><a name="l00553"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ace5a0ed57fad83447abfa7e55c6e518e">  553</a></span>&#160;<span class="preprocessor">#define MENU_MODE_SD_PRINTING 2</span></div><div class="line"><a name="l00554"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a0d501d6147ff0e70c7ff836096d8ff26">  554</a></span>&#160;<span class="preprocessor">#define MENU_MODE_PAUSED 4</span></div><div class="line"><a name="l00555"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a2cd09db1b62b1d5eac5233fe177032f1">  555</a></span>&#160;<span class="preprocessor">#define MENU_MODE_FAN_RUNNING 8</span></div><div class="line"><a name="l00556"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a60a4db346f525182cdba845400b5ed8a">  556</a></span>&#160;<span class="preprocessor">#define MENU_MODE_PRINTING 16</span></div><div class="line"><a name="l00557"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a195cc18cee249263149d83b4200ad26b">  557</a></span>&#160;<span class="preprocessor">#define MENU_MODE_FULL_PID 32</span></div><div class="line"><a name="l00558"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a82daf9813435c0043e2acd67a27a9d4c">  558</a></span>&#160;<span class="preprocessor">#define MENU_MODE_DEADTIME 64</span></div><div class="line"><a name="l00559"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a602f509764d35b7b33739cf29ab1ef0f">  559</a></span>&#160;<span class="preprocessor">#define MENU_MODE_FDM 128</span></div><div class="line"><a name="l00560"></a><span class="lineno"><a class="line" href="_repetier_8h.html#af2d8bebafac194799a2a1787ef38a9aa">  560</a></span>&#160;<span class="preprocessor">#define MENU_MODE_LASER 256</span></div><div class="line"><a name="l00561"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aefde3ebb4e94328f328863414e9b0fb0">  561</a></span>&#160;<span class="preprocessor">#define MENU_MODE_CNC 512</span></div><div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;</div><div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;<span class="preprocessor">#ifndef BENDING_CORRECTION_A</span></div><div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;<span class="preprocessor">#define BENDING_CORRECTION_A 0</span></div><div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;</div><div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;<span class="preprocessor">#ifndef BENDING_CORRECTION_B</span></div><div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;<span class="preprocessor">#define BENDING_CORRECTION_B 0</span></div><div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;</div><div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;<span class="preprocessor">#ifndef BENDING_CORRECTION_C</span></div><div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;<span class="preprocessor">#define BENDING_CORRECTION_C 0</span></div><div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;</div><div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;<span class="preprocessor">#ifndef ACCELERATION_FACTOR_TOP</span></div><div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;<span class="preprocessor">#define ACCELERATION_FACTOR_TOP 100</span></div><div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;</div><div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;<span class="preprocessor">#ifndef KEEP_ALIVE_INTERVAL</span></div><div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;<span class="preprocessor">#define KEEP_ALIVE_INTERVAL 2000</span></div><div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;</div><div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_h_a_l_8h.html">HAL.h</a>&quot;</span></div><div class="line"><a name="l00584"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aadcc90f13b8195ce6f9b4d9f8113033f">  584</a></span>&#160;<span class="preprocessor">#define MAX_VFAT_ENTRIES (2)</span></div><div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;</div><div class="line"><a name="l00586"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a44a03c09095315ecc8926e18c325472c">  586</a></span>&#160;<span class="preprocessor">#define LONG_FILENAME_LENGTH (13*MAX_VFAT_ENTRIES+1)</span></div><div class="line"><a name="l00587"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a4f72bc2f610f4156f446d7cc00fab46c">  587</a></span>&#160;<span class="preprocessor">#define SD_MAX_FOLDER_DEPTH 2</span></div><div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;</div><div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ui_8h.html">ui.h</a>&quot;</span></div><div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_communication_8h.html">Communication.h</a>&quot;</span></div><div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;</div><div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;</div><div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;<span class="preprocessor">#if UI_DISPLAY_TYPE != DISPLAY_U8G</span></div><div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;<span class="preprocessor">#if (defined(USER_KEY1_PIN) &amp;&amp; (USER_KEY1_PIN==UI_DISPLAY_D5_PIN || USER_KEY1_PIN==UI_DISPLAY_D6_PIN || USER_KEY1_PIN==UI_DISPLAY_D7_PIN)) || (defined(USER_KEY2_PIN) &amp;&amp; (USER_KEY2_PIN==UI_DISPLAY_D5_PIN || USER_KEY2_PIN==UI_DISPLAY_D6_PIN || USER_KEY2_PIN==UI_DISPLAY_D7_PIN)) || (defined(USER_KEY3_PIN) &amp;&amp; (USER_KEY3_PIN==UI_DISPLAY_D5_PIN || USER_KEY3_PIN==UI_DISPLAY_D6_PIN || USER_KEY3_PIN==UI_DISPLAY_D7_PIN)) || (defined(USER_KEY4_PIN) &amp;&amp; (USER_KEY4_PIN==UI_DISPLAY_D5_PIN || USER_KEY4_PIN==UI_DISPLAY_D6_PIN || USER_KEY4_PIN==UI_DISPLAY_D7_PIN))</span></div><div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;<span class="preprocessor">#error You cannot use DISPLAY_D5_PIN, DISPLAY_D6_PIN or DISPLAY_D7_PIN for &quot;User Keys&quot; with character LCD display</span></div><div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;</div><div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;</div><div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;<span class="preprocessor">#ifndef SDCARDDETECT</span></div><div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;<span class="preprocessor">#define SDCARDDETECT       -1</span></div><div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;</div><div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;<span class="preprocessor">#ifndef SDSUPPORT</span></div><div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;<span class="preprocessor">#define SDSUPPORT 0</span></div><div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;</div><div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;<span class="preprocessor">#if SDSUPPORT</span></div><div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;<span class="preprocessor">#include &quot;SdFat.h&quot;</span></div><div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;</div><div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="gcode_8h.html">gcode.h</a>&quot;</span></div><div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;</div><div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;<span class="preprocessor">#if ENABLE_BACKLASH_COMPENSATION &amp;&amp; DRIVE_SYSTEM != CARTESIAN &amp;&amp; !defined(ENFORCE_BACKLASH)</span></div><div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;<span class="preprocessor">#undef ENABLE_BACKLASH_COMPENSATION</span></div><div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;<span class="preprocessor">#define ENABLE_BACKLASH_COMPENSATION false</span></div><div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;</div><div class="line"><a name="l00619"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ad46b2ebcd4c426b06cda147ddc1001e7">  619</a></span>&#160;<span class="preprocessor">#define uint uint16_t</span></div><div class="line"><a name="l00620"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a2d25bcd37166cc98f0d823cdb8c553ef">  620</a></span>&#160;<span class="preprocessor">#define uint8 uint8_t</span></div><div class="line"><a name="l00621"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a05dd69e54275d0ffb23aa062e522f72c">  621</a></span>&#160;<span class="preprocessor">#define int8 int8_t</span></div><div class="line"><a name="l00622"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a9695cf1104606879c5d3f0221635a069">  622</a></span>&#160;<span class="preprocessor">#define uint32 uint32_t</span></div><div class="line"><a name="l00623"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ae5125ea470cb5e419d49e07ad57eeba2">  623</a></span>&#160;<span class="preprocessor">#define int32 int32_t</span></div><div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;</div><div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;</div><div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;<span class="preprocessor">#undef min</span></div><div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;<span class="preprocessor">#undef max</span></div><div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;</div><div class="line"><a name="l00629"></a><span class="lineno"><a class="line" href="class_r_math.html">  629</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_r_math.html">RMath</a></div><div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;{</div><div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00632"></a><span class="lineno"><a class="line" href="class_r_math.html#a44319afcaacd944bdca649894f0d70b1">  632</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">float</span> <a class="code" href="class_r_math.html#a44319afcaacd944bdca649894f0d70b1">min</a>(<span class="keywordtype">float</span> a,<span class="keywordtype">float</span> b)</div><div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;    {</div><div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;        <span class="keywordflow">if</span>(a &lt; b) <span class="keywordflow">return</span> a;</div><div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;        <span class="keywordflow">return</span> b;</div><div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;    }</div><div class="line"><a name="l00637"></a><span class="lineno"><a class="line" href="class_r_math.html#ad27f9bcd5691daeda34e020e7104dad2">  637</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">float</span> <a class="code" href="class_r_math.html#ad27f9bcd5691daeda34e020e7104dad2">max</a>(<span class="keywordtype">float</span> a,<span class="keywordtype">float</span> b)</div><div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;    {</div><div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;        <span class="keywordflow">if</span>(a &lt; b) <span class="keywordflow">return</span> b;</div><div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;        <span class="keywordflow">return</span> a;</div><div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;    }</div><div class="line"><a name="l00642"></a><span class="lineno"><a class="line" href="class_r_math.html#a653c452d8efd0df2fb018041dda05810">  642</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> int32_t <a class="code" href="class_r_math.html#a653c452d8efd0df2fb018041dda05810">min</a>(int32_t a,int32_t b)</div><div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;    {</div><div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;        <span class="keywordflow">if</span>(a &lt; b) <span class="keywordflow">return</span> a;</div><div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;        <span class="keywordflow">return</span> b;</div><div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;    }</div><div class="line"><a name="l00647"></a><span class="lineno"><a class="line" href="class_r_math.html#a94ac506c78bb2dab8f9e48562412b26d">  647</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> int32_t <a class="code" href="class_r_math.html#a94ac506c78bb2dab8f9e48562412b26d">min</a>(int32_t a,int32_t b, int32_t c)</div><div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;    {</div><div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;        <span class="keywordflow">if</span>(a &lt; b) <span class="keywordflow">return</span> a &lt; c ? a : c;</div><div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;        <span class="keywordflow">return</span> b&lt;c ? b : c;</div><div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;    }</div><div class="line"><a name="l00652"></a><span class="lineno"><a class="line" href="class_r_math.html#a041bc719bb4fb2f804c819c9ad095d41">  652</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">float</span> <a class="code" href="class_r_math.html#a041bc719bb4fb2f804c819c9ad095d41">min</a>(<span class="keywordtype">float</span> a,<span class="keywordtype">float</span> b, <span class="keywordtype">float</span> c)</div><div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;    {</div><div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;        <span class="keywordflow">if</span>(a &lt; b) <span class="keywordflow">return</span> a &lt; c ? a : c;</div><div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;        <span class="keywordflow">return</span> b &lt; c ? b : c;</div><div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;    }</div><div class="line"><a name="l00657"></a><span class="lineno"><a class="line" href="class_r_math.html#aece34f4296accb6e4d9e032b54c53130">  657</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> int32_t <a class="code" href="class_r_math.html#aece34f4296accb6e4d9e032b54c53130">max</a>(int32_t a,int32_t b)</div><div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160;    {</div><div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;        <span class="keywordflow">if</span>(a &lt; b) <span class="keywordflow">return</span> b;</div><div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;        <span class="keywordflow">return</span> a;</div><div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;    }</div><div class="line"><a name="l00662"></a><span class="lineno"><a class="line" href="class_r_math.html#a5983c7eb40b0fc22d8cadedac8c930f7">  662</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="class_r_math.html#a5983c7eb40b0fc22d8cadedac8c930f7">min</a>(<span class="keywordtype">int</span> a,<span class="keywordtype">int</span> b)</div><div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;    {</div><div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;        <span class="keywordflow">if</span>(a &lt; b) <span class="keywordflow">return</span> a;</div><div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;        <span class="keywordflow">return</span> b;</div><div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;    }</div><div class="line"><a name="l00667"></a><span class="lineno"><a class="line" href="class_r_math.html#a7081f9bfdfab88153459aab520d59bda">  667</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> uint16_t <a class="code" href="class_r_math.html#a7081f9bfdfab88153459aab520d59bda">min</a>(uint16_t a,uint16_t b)</div><div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;    {</div><div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;        <span class="keywordflow">if</span>(a &lt; b) <span class="keywordflow">return</span> a;</div><div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;        <span class="keywordflow">return</span> b;</div><div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;    }</div><div class="line"><a name="l00672"></a><span class="lineno"><a class="line" href="class_r_math.html#ad40cd3eedbc4e78b18f93861edae436c">  672</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> int16_t <a class="code" href="class_r_math.html#ad40cd3eedbc4e78b18f93861edae436c">max</a>(int16_t a,int16_t b)</div><div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;    {</div><div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;        <span class="keywordflow">if</span>(a &lt; b) <span class="keywordflow">return</span> b;</div><div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;        <span class="keywordflow">return</span> a;</div><div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;    }</div><div class="line"><a name="l00677"></a><span class="lineno"><a class="line" href="class_r_math.html#a8932e3cf4f499b801ea223d09b0416d8">  677</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> uint16_t <a class="code" href="class_r_math.html#a8932e3cf4f499b801ea223d09b0416d8">max</a>(uint16_t a,uint16_t b)</div><div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;    {</div><div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160;        <span class="keywordflow">if</span>(a &lt; b) <span class="keywordflow">return</span> b;</div><div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;        <span class="keywordflow">return</span> a;</div><div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;    }</div><div class="line"><a name="l00682"></a><span class="lineno"><a class="line" href="class_r_math.html#a934443debcceb483975bb6f473c1dd93">  682</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="class_r_math.html#a934443debcceb483975bb6f473c1dd93">absLong</a>(<span class="keywordtype">long</span> a)</div><div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;    {</div><div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;        <span class="keywordflow">return</span> a &gt;= 0 ? a : -a;</div><div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;    }</div><div class="line"><a name="l00686"></a><span class="lineno"><a class="line" href="class_r_math.html#ab6ac20fcdebcedd7929a3fff26434d6f">  686</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> int32_t <a class="code" href="class_r_math.html#ab6ac20fcdebcedd7929a3fff26434d6f">sqr</a>(int32_t a)</div><div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;    {</div><div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;        <span class="keywordflow">return</span> a*a;</div><div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;    }</div><div class="line"><a name="l00690"></a><span class="lineno"><a class="line" href="class_r_math.html#a11d270c10ec6e6e3670885c43861b7b5">  690</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> uint32_t <a class="code" href="class_r_math.html#a11d270c10ec6e6e3670885c43861b7b5">sqr</a>(uint32_t a)</div><div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;    {</div><div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;        <span class="keywordflow">return</span> a*a;</div><div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;    }</div><div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;<span class="preprocessor">#ifdef SUPPORT_64_BIT_MATH</span></div><div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> int64_t <a class="code" href="class_r_math.html#ab6ac20fcdebcedd7929a3fff26434d6f">sqr</a>(int64_t a)</div><div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;    {</div><div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;        <span class="keywordflow">return</span> a*a;</div><div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;    }</div><div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> uint64_t <a class="code" href="class_r_math.html#ab6ac20fcdebcedd7929a3fff26434d6f">sqr</a>(uint64_t a)</div><div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;    {</div><div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;        <span class="keywordflow">return</span> a*a;</div><div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;    }</div><div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;</div><div class="line"><a name="l00705"></a><span class="lineno"><a class="line" href="class_r_math.html#a30c609c088c31aae1e0ce843097e3bcc">  705</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">float</span> <a class="code" href="class_r_math.html#a30c609c088c31aae1e0ce843097e3bcc">sqr</a>(<span class="keywordtype">float</span> a)</div><div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;    {</div><div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;        <span class="keywordflow">return</span> a*a;</div><div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;    }</div><div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;};</div><div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;</div><div class="line"><a name="l00711"></a><span class="lineno"><a class="line" href="class_r_vector3.html">  711</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_r_vector3.html">RVector3</a></div><div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;{</div><div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00714"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">  714</a></span>&#160;    <span class="keywordtype">float</span> x, y, <a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a>;</div><div class="line"><a name="l00715"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a1b8e2d63f5632589533434ac29b72d08">  715</a></span>&#160;    <a class="code" href="class_r_vector3.html#a1b8e2d63f5632589533434ac29b72d08">RVector3</a>(<span class="keywordtype">float</span> _x = 0,<span class="keywordtype">float</span> _y = 0,<span class="keywordtype">float</span> _z = 0):x(_x),y(_y),z(_z) {};</div><div class="line"><a name="l00716"></a><span class="lineno"><a class="line" href="class_r_vector3.html#ab2e0102b36baf9ba772536ee6539bb0a">  716</a></span>&#160;    <a class="code" href="class_r_vector3.html#ab2e0102b36baf9ba772536ee6539bb0a">RVector3</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;a):x(a.x),y(a.y),z(a.z) {};</div><div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;</div><div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;</div><div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;<span class="comment">/*    const float &amp;operator[](std::size_t idx) const</span></div><div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;<span class="comment">    {</span></div><div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;<span class="comment">        if(idx == 0) return x;</span></div><div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;<span class="comment">        if(idx == 1) return y;</span></div><div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;<span class="comment">        return z;</span></div><div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;<span class="comment">    };</span></div><div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;<span class="comment">    float &amp;operator[](std::size_t idx)</span></div><div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;<span class="comment">    {</span></div><div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;<span class="comment">        switch(idx) {</span></div><div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;<span class="comment">        case 0: return x;</span></div><div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;<span class="comment">        case 1: return y;</span></div><div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;<span class="comment">        case 2: return z;</span></div><div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;<span class="comment">        }</span></div><div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;<span class="comment">        return 0;</span></div><div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;<span class="comment">    };*/</span></div><div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;</div><div class="line"><a name="l00736"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a542e2c644be877b912e19ea5d1a1c693">  736</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="class_r_vector3.html#a542e2c644be877b912e19ea5d1a1c693">operator==</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;rhs)</div><div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;    {</div><div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;        <span class="keywordflow">return</span> x==rhs.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a> &amp;&amp; y==rhs.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a> &amp;&amp; z==rhs.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a>;</div><div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;    }</div><div class="line"><a name="l00740"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a2dcb83cf3a18d60265aca8d166975dab">  740</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="class_r_vector3.html#a2dcb83cf3a18d60265aca8d166975dab">operator!=</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;rhs)</div><div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;    {</div><div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;        <span class="keywordflow">return</span> !(*<span class="keyword">this</span>==rhs);</div><div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;    }</div><div class="line"><a name="l00744"></a><span class="lineno"><a class="line" href="class_r_vector3.html#aadaebd5ea8d4ae04dc758e9db27490ef">  744</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="class_r_vector3.html">RVector3</a>&amp; <a class="code" href="class_r_vector3.html#aadaebd5ea8d4ae04dc758e9db27490ef">operator=</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;rhs)</div><div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;    {</div><div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;        <span class="keywordflow">if</span>(<span class="keyword">this</span>!=&amp;rhs)</div><div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;        {</div><div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;            x = rhs.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a>;</div><div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;            y = rhs.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a>;</div><div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;            z = rhs.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a>;</div><div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;        }</div><div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;        <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;    }</div><div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;</div><div class="line"><a name="l00755"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a61da8a8914f7b78dbf510697337c2774">  755</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="class_r_vector3.html">RVector3</a>&amp; <a class="code" href="class_r_vector3.html#a61da8a8914f7b78dbf510697337c2774">operator+=</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;rhs)</div><div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;    {</div><div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;        x += rhs.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a>;</div><div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;        y += rhs.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a>;</div><div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;        z += rhs.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a>;</div><div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;        <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;    }</div><div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;</div><div class="line"><a name="l00763"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a87dd50dfb1a9b939d41f2de18809c433">  763</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="class_r_vector3.html">RVector3</a>&amp; <a class="code" href="class_r_vector3.html#a87dd50dfb1a9b939d41f2de18809c433">operator-=</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;rhs)</div><div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;    {</div><div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;        x -= rhs.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a>;</div><div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;        y -= rhs.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a>;</div><div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160;        z -= rhs.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a>;</div><div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;        <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;    }</div><div class="line"><a name="l00770"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a043ef62c30381aade26317344e1f6b28">  770</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="class_r_vector3.html">RVector3</a> <a class="code" href="class_r_vector3.html#a043ef62c30381aade26317344e1f6b28">operator-</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_r_vector3.html">RVector3</a>(-x,-y,-z);</div><div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;    }</div><div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;</div><div class="line"><a name="l00775"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a76c40b5f31ea37f131285f685f8d5d30">  775</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">float</span> <a class="code" href="class_r_vector3.html#a76c40b5f31ea37f131285f685f8d5d30">length</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;        <span class="keywordflow">return</span> sqrt(x * x + y * y + z * z);</div><div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;    }</div><div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;</div><div class="line"><a name="l00780"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a96a80a0a559a1e31b6fbb00b50883689">  780</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">float</span> <a class="code" href="class_r_vector3.html#a96a80a0a559a1e31b6fbb00b50883689">lengthSquared</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;        <span class="keywordflow">return</span> (x*x+y*y+z*z);</div><div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;    }</div><div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;</div><div class="line"><a name="l00785"></a><span class="lineno"><a class="line" href="class_r_vector3.html#acada9429b21cdb31072945dd03cbefc7">  785</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="class_r_vector3.html">RVector3</a> <a class="code" href="class_r_vector3.html#acada9429b21cdb31072945dd03cbefc7">cross</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;b)<span class="keyword"> const</span></div><div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_r_vector3.html">RVector3</a>(y*b.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a>-z*b.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a>,z*b.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a>-x*b.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a>,x*b.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a>-y*b.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a>);</div><div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;    }</div><div class="line"><a name="l00789"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a6cece440c6e5bfa9ceb483d3778487bf">  789</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">float</span> <a class="code" href="class_r_vector3.html#a6cece440c6e5bfa9ceb483d3778487bf">scalar</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;b)<span class="keyword"> const</span></div><div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;        <span class="keywordflow">return</span> (x*b.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a>+y*b.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a>+z*b.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a>);</div><div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;    }</div><div class="line"><a name="l00793"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a06389c3d9490c23a2765123b7079fdd6">  793</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="class_r_vector3.html">RVector3</a> <a class="code" href="class_r_vector3.html#a06389c3d9490c23a2765123b7079fdd6">scale</a>(<span class="keywordtype">float</span> factor)<span class="keyword"> const</span></div><div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_r_vector3.html">RVector3</a>(x*factor,y*factor,z*factor);</div><div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;    }</div><div class="line"><a name="l00797"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a240e5e7ea1b5862eec0b287ff61f65c7">  797</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_r_vector3.html#a240e5e7ea1b5862eec0b287ff61f65c7">scaleIntern</a>(<span class="keywordtype">float</span> factor)</div><div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;    {</div><div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;        x*=factor;</div><div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;        y*=factor;</div><div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160;        z*=factor;</div><div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;    }</div><div class="line"><a name="l00803"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a6493b8ce49f03d43cf6e40b9e42e5030">  803</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_r_vector3.html#a6493b8ce49f03d43cf6e40b9e42e5030">setMinimum</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;b)</div><div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;    {</div><div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160;        x = <a class="code" href="class_r_math.html#a44319afcaacd944bdca649894f0d70b1">RMath::min</a>(x,b.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a>);</div><div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160;        y = <a class="code" href="class_r_math.html#a44319afcaacd944bdca649894f0d70b1">RMath::min</a>(y,b.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a>);</div><div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;        z = <a class="code" href="class_r_math.html#a44319afcaacd944bdca649894f0d70b1">RMath::min</a>(z,b.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a>);</div><div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;    }</div><div class="line"><a name="l00809"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a223133dd75f71fb05dc0660c06b18655">  809</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_r_vector3.html#a223133dd75f71fb05dc0660c06b18655">setMaximum</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;b)</div><div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;    {</div><div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;        x = <a class="code" href="class_r_math.html#ad27f9bcd5691daeda34e020e7104dad2">RMath::max</a>(x,b.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a>);</div><div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;        y = <a class="code" href="class_r_math.html#ad27f9bcd5691daeda34e020e7104dad2">RMath::max</a>(y,b.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a>);</div><div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;        z = <a class="code" href="class_r_math.html#ad27f9bcd5691daeda34e020e7104dad2">RMath::max</a>(z,b.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a>);</div><div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;    }</div><div class="line"><a name="l00815"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a0f1c971493e602f3de16e6bbb6706216">  815</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">float</span> <a class="code" href="class_r_vector3.html#a0f1c971493e602f3de16e6bbb6706216">distance</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;b)<span class="keyword"> const</span></div><div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;        <span class="keywordtype">float</span> dx = b.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a>-x,dy = b.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a>-y, dz = b.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a>-z;</div><div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;        <span class="keywordflow">return</span> (sqrt(dx*dx+dy*dy+dz*dz));</div><div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;    }</div><div class="line"><a name="l00820"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a052ef5d3820c60a1c48937d9579d3229">  820</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">float</span> <a class="code" href="class_r_vector3.html#a052ef5d3820c60a1c48937d9579d3229">angle</a>(<a class="code" href="class_r_vector3.html">RVector3</a> &amp;direction)</div><div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;    {</div><div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">float</span><span class="keyword">&gt;</span>(acos(scalar(direction)/(length()*direction.<a class="code" href="class_r_vector3.html#a76c40b5f31ea37f131285f685f8d5d30">length</a>())));</div><div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;    }</div><div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;</div><div class="line"><a name="l00825"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a5cf98d9459383c2e69d30e564aa293ea">  825</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="class_r_vector3.html">RVector3</a> <a class="code" href="class_r_vector3.html#a5cf98d9459383c2e69d30e564aa293ea">normalize</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00827"></a><span class="lineno">  827</span>&#160;        <span class="keywordtype">float</span> len = length();</div><div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160;        <span class="keywordflow">if</span>(len != 0) len = <span class="keyword">static_cast&lt;</span><span class="keywordtype">float</span><span class="keyword">&gt;</span>(1.0/len);</div><div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_r_vector3.html">RVector3</a>(x*len,y*len,z*len);</div><div class="line"><a name="l00830"></a><span class="lineno">  830</span>&#160;    }</div><div class="line"><a name="l00831"></a><span class="lineno">  831</span>&#160;</div><div class="line"><a name="l00832"></a><span class="lineno"><a class="line" href="class_r_vector3.html#a7440d3f06f227398e37e50071e0643b2">  832</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="class_r_vector3.html">RVector3</a> <a class="code" href="class_r_vector3.html#a7440d3f06f227398e37e50071e0643b2">interpolatePosition</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;b, <span class="keywordtype">float</span> pos)<span class="keyword"> const</span></div><div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;        <span class="keywordtype">float</span> pos2 = 1.0f - pos;</div><div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_r_vector3.html">RVector3</a>(x * pos2 + b.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a> * pos, y * pos2 + b.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a> * pos, z * pos2 + b.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a> * pos);</div><div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;    }</div><div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;</div><div class="line"><a name="l00838"></a><span class="lineno"><a class="line" href="class_r_vector3.html#af61264225535752eb27101cb589b57aa">  838</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="class_r_vector3.html">RVector3</a> <a class="code" href="class_r_vector3.html#af61264225535752eb27101cb589b57aa">interpolateDirection</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;b,<span class="keywordtype">float</span> pos)<span class="keyword"> const</span></div><div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;        <span class="comment">//float pos2 = 1.0f - pos;</span></div><div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;</div><div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;        <span class="keywordtype">float</span> dot = scalar(b);</div><div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;        <span class="keywordflow">if</span> (dot &gt; 0.9995 || dot &lt; -0.9995)</div><div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160;            <span class="keywordflow">return</span> interpolatePosition(b,pos); <span class="comment">// cases cause trouble, use linear interpolation here</span></div><div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;</div><div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;        <span class="keywordtype">float</span> theta = acos(dot) * pos; <span class="comment">// interpolated position</span></div><div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160;        <span class="keywordtype">float</span> st = sin(theta);</div><div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160;        <a class="code" href="class_r_vector3.html">RVector3</a> t(b);</div><div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;        t -= scale(dot);</div><div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;        <span class="keywordtype">float</span> lengthSq = t.<a class="code" href="class_r_vector3.html#a96a80a0a559a1e31b6fbb00b50883689">lengthSquared</a>();</div><div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;        <span class="keywordtype">float</span> dl = st * ((lengthSq &lt; 0.0001f) ? 1.0f : 1.0f / sqrt(lengthSq));</div><div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;        t.<a class="code" href="class_r_vector3.html#a240e5e7ea1b5862eec0b287ff61f65c7">scaleIntern</a>(dl);</div><div class="line"><a name="l00853"></a><span class="lineno">  853</span>&#160;        t += scale(cos(theta));</div><div class="line"><a name="l00854"></a><span class="lineno">  854</span>&#160;        <span class="keywordflow">return</span> t.<a class="code" href="class_r_vector3.html#a5cf98d9459383c2e69d30e564aa293ea">normalize</a>();</div><div class="line"><a name="l00855"></a><span class="lineno">  855</span>&#160;    }</div><div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;};</div><div class="line"><a name="l00857"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ad31d638d2630456f0dee6eaf5ba859e6">  857</a></span>&#160;        <span class="keyword">inline</span> <a class="code" href="class_r_vector3.html">RVector3</a> <a class="code" href="_repetier_8h.html#ad31d638d2630456f0dee6eaf5ba859e6">operator+</a>(<a class="code" href="class_r_vector3.html">RVector3</a> lhs, <span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a>&amp; rhs) <span class="comment">// first arg by value, second by const ref</span></div><div class="line"><a name="l00858"></a><span class="lineno">  858</span>&#160;        {</div><div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;                lhs.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a> += rhs.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a>;</div><div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;                lhs.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a> += rhs.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a>;</div><div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160;                lhs.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a> += rhs.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a>;</div><div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;                <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;        }</div><div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160;</div><div class="line"><a name="l00865"></a><span class="lineno"><a class="line" href="_repetier_8h.html#aa3eabb726538a80c6bc33e98a87a5c56">  865</a></span>&#160;        <span class="keyword">inline</span> <a class="code" href="class_r_vector3.html">RVector3</a> <a class="code" href="_repetier_8h.html#aa3eabb726538a80c6bc33e98a87a5c56">operator-</a>(<a class="code" href="class_r_vector3.html">RVector3</a> lhs, <span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a>&amp; rhs) <span class="comment">// first arg by value, second by const ref</span></div><div class="line"><a name="l00866"></a><span class="lineno">  866</span>&#160;        {</div><div class="line"><a name="l00867"></a><span class="lineno">  867</span>&#160;                lhs.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a> -= rhs.<a class="code" href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">x</a>;</div><div class="line"><a name="l00868"></a><span class="lineno">  868</span>&#160;                lhs.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a> -= rhs.<a class="code" href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">y</a>;</div><div class="line"><a name="l00869"></a><span class="lineno">  869</span>&#160;                lhs.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a> -= rhs.<a class="code" href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">z</a>;</div><div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160;                <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160;        }</div><div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160;</div><div class="line"><a name="l00873"></a><span class="lineno"><a class="line" href="_repetier_8h.html#afa887879a1ca45bac177efafd38b24ea">  873</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="class_r_vector3.html">RVector3</a> <a class="code" href="_repetier_8h.html#afa887879a1ca45bac177efafd38b24ea">operator*</a>(<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;lhs,<span class="keywordtype">float</span> rhs) {</div><div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;        <span class="keywordflow">return</span> lhs.<a class="code" href="class_r_vector3.html#a06389c3d9490c23a2765123b7079fdd6">scale</a>(rhs);</div><div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;    }</div><div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;</div><div class="line"><a name="l00877"></a><span class="lineno"><a class="line" href="_repetier_8h.html#abd5cc6f651d5967685902c212b861ba0">  877</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="class_r_vector3.html">RVector3</a> <a class="code" href="_repetier_8h.html#afa887879a1ca45bac177efafd38b24ea">operator*</a>(<span class="keywordtype">float</span> lhs,<span class="keyword">const</span> <a class="code" href="class_r_vector3.html">RVector3</a> &amp;rhs) {</div><div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;        <span class="keywordflow">return</span> rhs.<a class="code" href="class_r_vector3.html#a06389c3d9490c23a2765123b7079fdd6">scale</a>(lhs);</div><div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;    }</div><div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <a class="code" href="_repetier_8h.html#a2d25bcd37166cc98f0d823cdb8c553ef">uint8</a> osAnalogInputChannels[] <a class="code" href="_repetier_8h.html#ac5bff736e8dc00534df00bc5c3628021">PROGMEM</a>;</div><div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;<span class="comment">//extern uint8 osAnalogInputCounter[ANALOG_INPUTS];</span></div><div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;<span class="comment">//extern uint osAnalogInputBuildup[ANALOG_INPUTS];</span></div><div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;<span class="comment">//extern uint8 osAnalogInputPos; // Current sampling position</span></div><div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160;<span class="preprocessor">#if ANALOG_INPUTS &gt; 0</span></div><div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160;<span class="keyword">extern</span> <span class="keyword">volatile</span> <a class="code" href="_repetier_8h.html#ad46b2ebcd4c426b06cda147ddc1001e7">uint</a> <a class="code" href="_repetier_8h.html#a2b0e4706d5ae47ec0c077dd1481d036a">osAnalogInputValues</a>[<a class="code" href="_repetier_8h.html#a4791bfa40258d27fa714fff6d8e62a30">ANALOG_INPUTS</a>];</div><div class="line"><a name="l00886"></a><span class="lineno">  886</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00887"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a4d19ef6293a4b9be0ab7a38e131a9ed8">  887</a></span>&#160;<span class="preprocessor">#define PWM_HEATED_BED NUM_EXTRUDER</span></div><div class="line"><a name="l00888"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ace724925bf15757412f828fca8facee7">  888</a></span>&#160;<span class="preprocessor">#define PWM_BOARD_FAN PWM_HEATED_BED+1</span></div><div class="line"><a name="l00889"></a><span class="lineno"><a class="line" href="_repetier_8h.html#adf2462f7fac1fe4bf8ac9668cacacb7d">  889</a></span>&#160;<span class="preprocessor">#define PWM_FAN1 PWM_BOARD_FAN+1</span></div><div class="line"><a name="l00890"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a9e979d04190e934d3085484810ae6d02">  890</a></span>&#160;<span class="preprocessor">#define PWM_FAN2 PWM_FAN1+1</span></div><div class="line"><a name="l00891"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a6ddd4f113bf071d7c88e2e537916ddff">  891</a></span>&#160;<span class="preprocessor">#define PWM_FAN_THERMO PWM_FAN2+1</span></div><div class="line"><a name="l00892"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a6f04e4616ed807982151bfc71eacd600">  892</a></span>&#160;<span class="preprocessor">#define NUM_PWM PWM_FAN_THERMO+1</span></div><div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;<span class="keyword">extern</span> uint8_t <a class="code" href="_repetier_8h.html#aa29b1c69052ae57a105fb4834214b491">pwm_pos</a>[<a class="code" href="_repetier_8h.html#a6f04e4616ed807982151bfc71eacd600">NUM_PWM</a>]; <span class="comment">// 0-NUM_EXTRUDER = Heater 0-NUM_EXTRUDER of extruder, NUM_EXTRUDER = Heated bed, NUM_EXTRUDER+1 Board fan, NUM_EXTRUDER+2 = Fan</span></div><div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;<span class="preprocessor">#if USE_ADVANCE</span></div><div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;<span class="preprocessor">#if ENABLE_QUADRATIC_ADVANCE</span></div><div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> maxadv;</div><div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="_repetier_8h.html#af30ccb099aa74e5ab14e18d157294f1a">maxadv2</a>;</div><div class="line"><a name="l00899"></a><span class="lineno">  899</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">float</span> <a class="code" href="_repetier_8h.html#addae499e542db954fc7b0514113128ff">maxadvspeed</a>;</div><div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;</div><div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;</div><div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_extruder_8h.html">Extruder.h</a>&quot;</span></div><div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;</div><div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;<span class="keywordtype">void</span> <a class="code" href="_repetier_8h.html#a5206a05e99816878d11fc057eeb3ea18">manage_inactivity</a>(uint8_t debug);</div><div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;</div><div class="line"><a name="l00907"></a><span class="lineno">  907</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="_repetier_8h.html#acb8c2930412c809a09ed3752e7e7e0dc">finishNextSegment</a>();</div><div class="line"><a name="l00908"></a><span class="lineno">  908</span>&#160;<span class="preprocessor">#if NONLINEAR_SYSTEM</span></div><div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160;<span class="keyword">extern</span> uint8_t transformCartesianStepsToDeltaSteps(<span class="keywordtype">long</span> cartesianPosSteps[], <span class="keywordtype">long</span> deltaPosSteps[]);</div><div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160;<span class="preprocessor">#if SOFTWARE_LEVELING</span></div><div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> calculatePlane(<span class="keywordtype">long</span> factors[], <span class="keywordtype">long</span> p1[], <span class="keywordtype">long</span> p2[], <span class="keywordtype">long</span> p3[]);</div><div class="line"><a name="l00912"></a><span class="lineno">  912</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">float</span> calcZOffset(<span class="keywordtype">long</span> factors[], <span class="keywordtype">long</span> pointX, <span class="keywordtype">long</span> pointY);</div><div class="line"><a name="l00913"></a><span class="lineno">  913</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="_repetier_8h.html#a65a322bad41be18bfefa92002f0be2fa">linear_move</a>(<span class="keywordtype">long</span> steps_remaining[]);</div><div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;<span class="preprocessor">#ifndef FEATURE_DITTO_PRINTING</span></div><div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;<span class="preprocessor">#define FEATURE_DITTO_PRINTING false</span></div><div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;<span class="preprocessor">#if FEATURE_DITTO_PRINTING &amp;&amp; (NUM_EXTRUDER &gt; 4 || NUM_EXTRUDER &lt; 2)</span></div><div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;<span class="preprocessor">#error Ditto printing requires 2 - 4 extruder.</span></div><div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;</div><div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;</div><div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;<span class="keyword">extern</span> <a class="code" href="_h_a_l_8h.html#a5f255edd429b0abc92fae25c511d45a7">millis_t</a> <a class="code" href="_repetier_8h.html#adc903858a94689ba9ae8882a135b3f3b">previousMillisCmd</a>;</div><div class="line"><a name="l00925"></a><span class="lineno">  925</span>&#160;<span class="keyword">extern</span> <a class="code" href="_h_a_l_8h.html#a5f255edd429b0abc92fae25c511d45a7">millis_t</a> <a class="code" href="_repetier_8h.html#ab70f53b8c69009326cad4be6edd3a1f0">maxInactiveTime</a>;</div><div class="line"><a name="l00926"></a><span class="lineno">  926</span>&#160;<span class="keyword">extern</span> <a class="code" href="_h_a_l_8h.html#a5f255edd429b0abc92fae25c511d45a7">millis_t</a> <a class="code" href="_repetier_8h.html#acfda5eefcb4f9723567641d4167a9582">stepperInactiveTime</a>;</div><div class="line"><a name="l00927"></a><span class="lineno">  927</span>&#160;</div><div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="_repetier_8h.html#a0764a6316281ac76f1e8fa8a07b0332e">setupTimerInterrupt</a>();</div><div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="_repetier_8h.html#a03240f7b400beb759384e548a1fba658">motorCurrentControlInit</a>();</div><div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="_repetier_8h.html#ada9007f5c352e47dccd2756d2066bbd9">microstepInit</a>();</div><div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160;</div><div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_printer_8h.html">Printer.h</a>&quot;</span></div><div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="motion_8h.html">motion.h</a>&quot;</span></div><div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">long</span> <a class="code" href="_repetier_8h.html#a758f659f15b3784c13d14aee2e89e6a2">baudrate</a>;</div><div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;</div><div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_h_a_l_8h.html">HAL.h</a>&quot;</span></div><div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160;</div><div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160;</div><div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="_repetier_8h.html#a80262161624db16ad488d66ed40012a1">counterPeriodical</a>;</div><div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;<span class="keyword">extern</span> <span class="keyword">volatile</span> uint8_t <a class="code" href="_repetier_8h.html#a777e2a3aefbd82c1428f8ff4770460a1">executePeriodical</a>;</div><div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;<span class="keyword">extern</span> uint8_t <a class="code" href="_repetier_8h.html#ac6edba4757acfc1af4033e60ae66da0d">counter500ms</a>;</div><div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="_repetier_8h.html#a7b9f5bc67725449f737bb229c9c8cae9">writeMonitor</a>();</div><div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;<span class="preprocessor">#if FEATURE_FAN_CONTROL</span></div><div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160;<span class="keyword">extern</span> uint8_t <a class="code" href="_repetier_8h.html#a318ab6b2b82edc273f0ba4476b7967d9">fanKickstart</a>;</div><div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160;<span class="preprocessor">#if FEATURE_FAN2_CONTROL</span></div><div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160;<span class="keyword">extern</span> uint8_t fan2Kickstart;</div><div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;</div><div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160;<span class="preprocessor">#if SDSUPPORT</span></div><div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="_s_d_card_8cpp.html#a8169ea97028836b8ed4f6301f65dbcf8">tempLongFilename</a>[<a class="code" href="_repetier_8h.html#a44a03c09095315ecc8926e18c325472c">LONG_FILENAME_LENGTH</a>+1];</div><div class="line"><a name="l00952"></a><span class="lineno">  952</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="_s_d_card_8cpp.html#a8699ac6c5bc1ba80338828c0e1621ff3">fullName</a>[<a class="code" href="_repetier_8h.html#a44a03c09095315ecc8926e18c325472c">LONG_FILENAME_LENGTH</a>*<a class="code" href="_repetier_8h.html#a4f72bc2f610f4156f446d7cc00fab46c">SD_MAX_FOLDER_DEPTH</a>+<a class="code" href="_repetier_8h.html#a4f72bc2f610f4156f446d7cc00fab46c">SD_MAX_FOLDER_DEPTH</a>+1];</div><div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;<span class="preprocessor">#define SHORT_FILENAME_LENGTH 14</span></div><div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160;<span class="preprocessor">#include &quot;SdFat.h&quot;</span></div><div class="line"><a name="l00955"></a><span class="lineno">  955</span>&#160;</div><div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;<span class="keyword">enum</span> LsAction {LS_SerialPrint,LS_Count,LS_GetFilename};</div><div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;<span class="keyword">class </span>SDCard</div><div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;{</div><div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;    SdFat fat;</div><div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;    <span class="comment">//Sd2Card card; // ~14 Byte</span></div><div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;    <span class="comment">//SdVolume volume;</span></div><div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;    <span class="comment">//SdFile root;</span></div><div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;    <span class="comment">//SdFile dir[SD_MAX_FOLDER_DEPTH+1];</span></div><div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160;    SdFile file;</div><div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160;<span class="preprocessor">#if JSON_OUTPUT</span></div><div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;    GCodeFileInfo fileInfo;</div><div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160;    uint32_t filesize;</div><div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160;    uint32_t sdpos;</div><div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;    <span class="comment">//char fullName[13*SD_MAX_FOLDER_DEPTH+13]; // Fill name</span></div><div class="line"><a name="l00972"></a><span class="lineno">  972</span>&#160;    <span class="keywordtype">char</span> *shortname; <span class="comment">// Pointer to start of filename itself</span></div><div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;    <span class="keywordtype">char</span> *pathend; <span class="comment">// File to char where pathname in fullname ends</span></div><div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;    uint8_t sdmode;  <span class="comment">// 1 if we are printing from sd card, 2 = stop accepting new commands</span></div><div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;    <span class="keywordtype">bool</span> sdactive;</div><div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160;    <span class="comment">//int16_t n;</span></div><div class="line"><a name="l00977"></a><span class="lineno">  977</span>&#160;    <span class="keywordtype">bool</span> savetosd;</div><div class="line"><a name="l00978"></a><span class="lineno">  978</span>&#160;    SdBaseFile parentFound;</div><div class="line"><a name="l00979"></a><span class="lineno">  979</span>&#160;</div><div class="line"><a name="l00980"></a><span class="lineno">  980</span>&#160;    SDCard();</div><div class="line"><a name="l00981"></a><span class="lineno">  981</span>&#160;    <span class="keywordtype">void</span> initsd();</div><div class="line"><a name="l00982"></a><span class="lineno">  982</span>&#160;    <span class="keywordtype">void</span> writeCommand(<a class="code" href="class_g_code.html">GCode</a> *code);</div><div class="line"><a name="l00983"></a><span class="lineno">  983</span>&#160;    <span class="keywordtype">bool</span> selectFile(<span class="keyword">const</span> <span class="keywordtype">char</span> *filename,<span class="keywordtype">bool</span> silent=<span class="keyword">false</span>);</div><div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;    <span class="keywordtype">void</span> mount();</div><div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160;    <span class="keywordtype">void</span> unmount();</div><div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;    <span class="keywordtype">void</span> startPrint();</div><div class="line"><a name="l00987"></a><span class="lineno">  987</span>&#160;    <span class="keywordtype">void</span> pausePrint(<span class="keywordtype">bool</span> intern = <span class="keyword">false</span>);</div><div class="line"><a name="l00988"></a><span class="lineno">  988</span>&#160;    <span class="keywordtype">void</span> continuePrint(<span class="keywordtype">bool</span> intern = <span class="keyword">false</span>);</div><div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;    <span class="keywordtype">void</span> stopPrint();</div><div class="line"><a name="l00990"></a><span class="lineno">  990</span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">void</span> setIndex(uint32_t  newpos)</div><div class="line"><a name="l00991"></a><span class="lineno">  991</span>&#160;    {</div><div class="line"><a name="l00992"></a><span class="lineno">  992</span>&#160;        <span class="keywordflow">if</span>(!sdactive) <span class="keywordflow">return</span>;</div><div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160;        sdpos = newpos;</div><div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;        file.seekSet(sdpos);</div><div class="line"><a name="l00995"></a><span class="lineno">  995</span>&#160;    }</div><div class="line"><a name="l00996"></a><span class="lineno">  996</span>&#160;    <span class="keywordtype">void</span> printStatus();</div><div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160;    <span class="keywordtype">void</span> ls();</div><div class="line"><a name="l00998"></a><span class="lineno">  998</span>&#160;<span class="preprocessor">#if JSON_OUTPUT</span></div><div class="line"><a name="l00999"></a><span class="lineno">  999</span>&#160;    <span class="keywordtype">void</span> lsJSON(<span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div><div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160;    <span class="keywordtype">void</span> JSONFileInfo(<span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div><div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> printEscapeChars(<span class="keyword">const</span> <span class="keywordtype">char</span> *s);</div><div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;    <span class="keywordtype">void</span> startWrite(<span class="keywordtype">char</span> *filename);</div><div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160;    <span class="keywordtype">void</span> deleteFile(<span class="keywordtype">char</span> *filename);</div><div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160;    <span class="keywordtype">void</span> finishWrite();</div><div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;    <span class="keywordtype">char</span> *createFilename(<span class="keywordtype">char</span> *buffer,<span class="keyword">const</span> <a class="code" href="structdirectory_entry.html">dir_t</a> &amp;p);</div><div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160;    <span class="keywordtype">void</span> makeDirectory(<span class="keywordtype">char</span> *filename);</div><div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>&#160;    <span class="keywordtype">bool</span> showFilename(<span class="keyword">const</span> uint8_t *name);</div><div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160;    <span class="keywordtype">void</span> automount();</div><div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;<span class="preprocessor">#ifdef GLENN_DEBUG</span></div><div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;    <span class="keywordtype">void</span> writeToFile();</div><div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;    uint8_t lsRecursive(SdBaseFile *parent,uint8_t level,<span class="keywordtype">char</span> *findFilename);</div><div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160;<span class="comment">// SdFile *getDirectory(char* name);</span></div><div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160;};</div><div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160;</div><div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>&#160;<span class="keyword">extern</span> SDCard <a class="code" href="_s_d_card_8cpp.html#a1af0758b2d0ac9be1e97beb13de6eb55">sd</a>;</div><div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;</div><div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160;<span class="keyword">extern</span> <span class="keyword">volatile</span> <span class="keywordtype">int</span> <a class="code" href="_repetier_8h.html#aa9d0e229ec10a7a98c224f60d88fe410">waitRelax</a>; <span class="comment">// Delay filament relax at the end of print, could be a simple timeout</span></div><div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="_repetier_8h.html#adf6a7cb291c016fdbefd2e795f610ae0">updateStepsParameter</a>(<a class="code" href="class_print_line.html">PrintLine</a> *p<span class="comment">/*,uint8_t caller*/</span>);</div><div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;</div><div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;<span class="preprocessor">#ifdef DEBUG_PRINT</span></div><div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> debugWaitLoop;</div><div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>&#160;</div><div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>&#160;<span class="preprocessor">#if NONLINEAR_SYSTEM</span></div><div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>&#160;<span class="preprocessor">#define NUM_AXIS 4</span></div><div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>&#160;</div><div class="line"><a name="l01032"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a6388870e639eee9c0a69446876f1f8cc"> 1032</a></span>&#160;<span class="preprocessor">#define STR(s) #s</span></div><div class="line"><a name="l01033"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a03943706e48069237cd57f2d35ca987e"> 1033</a></span>&#160;<span class="preprocessor">#define XSTR(s) STR(s)</span></div><div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_commands_8h.html">Commands.h</a>&quot;</span></div><div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_eeprom_8h.html">Eeprom.h</a>&quot;</span></div><div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160;</div><div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160;<span class="preprocessor">#if CPU_ARCH == ARCH_AVR</span></div><div class="line"><a name="l01038"></a><span class="lineno"><a class="line" href="_repetier_8h.html#a3f2e07c88e0a344e8ea39a7dd112255a"> 1038</a></span>&#160;<span class="preprocessor">#define DELAY1MICROSECOND        __asm__(&quot;nop\n\t&quot;&quot;nop\n\t&quot;&quot;nop\n\t&quot;&quot;nop\n\t&quot;&quot;nop\n\t&quot;&quot;nop\n\t&quot;)</span></div><div class="line"><a name="l01039"></a><span class="lineno"><a class="line" href="_repetier_8h.html#abf7efa4cd4bf968a7f876e6300fd5acf"> 1039</a></span>&#160;<span class="preprocessor">#define DELAY2MICROSECOND        __asm__(&quot;nop\n\t&quot;&quot;nop\n\t&quot;&quot;nop\n\t&quot;&quot;nop\n\t&quot;&quot;nop\n\t&quot;&quot;nop\n\tnop\n\t&quot;&quot;nop\n\t&quot;&quot;nop\n\t&quot;&quot;nop\n\t&quot;&quot;nop\n\t&quot;&quot;nop\n\t&quot;)</span></div><div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>&#160;<span class="preprocessor">#define DELAY1MICROSECOND     HAL::delayMicroseconds(1);</span></div><div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>&#160;<span class="preprocessor">#define DELAY2MICROSECOND     HAL::delayMicroseconds(2);</span></div><div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>&#160;</div><div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>&#160;<span class="preprocessor">#ifdef FAST_INTEGER_SQRT</span></div><div class="line"><a name="l01046"></a><span class="lineno"><a class="line" href="_repetier_8h.html#ae52c48592a33f8f3db9592f7be0502f3"> 1046</a></span>&#160;<span class="preprocessor">#define SQRT(x) ( HAL::integerSqrt(x) )</span></div><div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>&#160;<span class="preprocessor">#define SQRT(x) sqrt(x)</span></div><div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;</div><div class="line"><a name="l01051"></a><span class="lineno"><a class="line" href="class_plane_builder.html"> 1051</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_plane_builder.html">PlaneBuilder</a> {</div><div class="line"><a name="l01052"></a><span class="lineno"><a class="line" href="class_plane_builder.html#a3f3b75733a7a0413ac290ced364ea2f9"> 1052</a></span>&#160;        <span class="keywordtype">float</span> sum_xx,sum_xy,sum_yy,sum_x,sum_y,sum_xz,sum_yz,<a class="code" href="class_plane_builder.html#a3f3b75733a7a0413ac290ced364ea2f9">sum_z</a>,n;</div><div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;        <span class="keyword">public</span>:</div><div class="line"><a name="l01054"></a><span class="lineno"><a class="line" href="class_plane_builder.html#a64ed603fa368065aacabd12f4a922523"> 1054</a></span>&#160;        <a class="code" href="class_plane_builder.html#a64ed603fa368065aacabd12f4a922523">PlaneBuilder</a>() {</div><div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;                reset();</div><div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160;        }</div><div class="line"><a name="l01057"></a><span class="lineno"><a class="line" href="class_plane_builder.html#a2d6b233a4719e3e8ab5e97ca034b7e79"> 1057</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_plane_builder.html#a2d6b233a4719e3e8ab5e97ca034b7e79">reset</a>() {</div><div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160;                sum_xx = sum_xy = sum_yy = sum_x = sum_y = sum_xz = sum_yz = sum_z = n = 0;</div><div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>&#160;        }</div><div class="line"><a name="l01060"></a><span class="lineno"><a class="line" href="class_plane_builder.html#a91e323d061cd13b198c3acf6021a90a5"> 1060</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_plane_builder.html#a91e323d061cd13b198c3acf6021a90a5">addPoint</a>(<span class="keywordtype">float</span> x,<span class="keywordtype">float</span> y,<span class="keywordtype">float</span> z) {</div><div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>&#160;                n++;</div><div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160;                sum_xx += x * x;</div><div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>&#160;                sum_xy += x * y;</div><div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>&#160;                sum_yy += y * y;</div><div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>&#160;                sum_x  += x;</div><div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>&#160;                sum_y  += y;</div><div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>&#160;                sum_xz += x * z;</div><div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>&#160;                sum_yz += y * z;</div><div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>&#160;                sum_z  += z;</div><div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>&#160;        }</div><div class="line"><a name="l01071"></a><span class="lineno"><a class="line" href="class_plane_builder.html#abff84b8892654173c4e9da3ddd0e80fd"> 1071</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_plane_builder.html#abff84b8892654173c4e9da3ddd0e80fd">createPlane</a>(<a class="code" href="class_plane.html">Plane</a> &amp;plane,<span class="keywordtype">bool</span> silent=<span class="keyword">false</span>) {</div><div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>&#160;                <span class="keywordtype">float</span> det = (sum_x * (sum_xy * sum_y - sum_x * sum_yy) + sum_xx * (n * sum_yy - sum_y * sum_y) + sum_xy * (sum_x * sum_y - n * sum_xy));</div><div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160;                plane.<a class="code" href="class_plane.html#a818b693ba813d53949e18aa1416cc12a">a</a> = ((sum_xy * sum_y  - sum_x * sum_yy)  * sum_z + (sum_x * sum_y  - n      * sum_xy) * sum_yz + sum_xz * (n      * sum_yy - sum_y * sum_y))  / det;</div><div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160;                plane.<a class="code" href="class_plane.html#a3d802fea10cfe6352e1792733d793b14">b</a> = ((sum_x  * sum_xy - sum_xx * sum_y)  * sum_z + (n     * sum_xx - sum_x  * sum_x)  * sum_yz + sum_xz * (sum_x  * sum_y  - n     * sum_xy)) / det;</div><div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160;                plane.<a class="code" href="class_plane.html#aec04c57607ffa16c210f955360ef4153">c</a> = ((sum_xx * sum_yy - sum_xy * sum_xy) * sum_z + (sum_x * sum_xy - sum_xx * sum_y)  * sum_yz + sum_xz * (sum_xy * sum_y  - sum_x * sum_yy)) / det;</div><div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160;                <span class="keywordflow">if</span>(!silent) {</div><div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>&#160;                        <a class="code" href="class_com.html#ae82185217c66c5f14ea46f405a6cdceb">Com::printF</a>(PSTR(<span class="stringliteral">&quot;plane: a = &quot;</span>),plane.<a class="code" href="class_plane.html#a818b693ba813d53949e18aa1416cc12a">a</a>,4);</div><div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160;                        <a class="code" href="class_com.html#ae82185217c66c5f14ea46f405a6cdceb">Com::printF</a>(PSTR(<span class="stringliteral">&quot; b = &quot;</span>),plane.<a class="code" href="class_plane.html#a3d802fea10cfe6352e1792733d793b14">b</a>,4);</div><div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160;                        <a class="code" href="class_com.html#a7089be155e8c6cdc5d8eb8d4f315058d">Com::printFLN</a>(PSTR(<span class="stringliteral">&quot; c = &quot;</span>),plane.<a class="code" href="class_plane.html#aec04c57607ffa16c210f955360ef4153">c</a>,4);</div><div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160;                }</div><div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160;        }</div><div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;};</div><div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;</div><div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_drivers_8h.html">Drivers.h</a>&quot;</span></div><div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;</div><div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_events_8h.html">Events.h</a>&quot;</span></div><div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>&#160;<span class="preprocessor">#if defined(CUSTOM_EVENTS)</span></div><div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>&#160;<span class="preprocessor">#include &quot;CustomEvents.h&quot;</span></div><div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>&#160;</div><div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>&#160;<span class="comment">// must be after CustomEvents as it might include definitions from there</span></div><div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_display_list_8h.html">DisplayList.h</a>&quot;</span></div><div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>&#160;</div><div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="class_r_vector3_html_a96a80a0a559a1e31b6fbb00b50883689"><div class="ttname"><a href="class_r_vector3.html#a96a80a0a559a1e31b6fbb00b50883689">RVector3::lengthSquared</a></div><div class="ttdeci">float lengthSquared() const</div><div class="ttdef"><b>Definition:</b> Repetier.h:780</div></div>
<div class="ttc" id="class_r_math_html_aece34f4296accb6e4d9e032b54c53130"><div class="ttname"><a href="class_r_math.html#aece34f4296accb6e4d9e032b54c53130">RMath::max</a></div><div class="ttdeci">static int32_t max(int32_t a, int32_t b)</div><div class="ttdef"><b>Definition:</b> Repetier.h:657</div></div>
<div class="ttc" id="gcode_8h_html"><div class="ttname"><a href="gcode_8h.html">gcode.h</a></div></div>
<div class="ttc" id="_printer_8h_html"><div class="ttname"><a href="_printer_8h.html">Printer.h</a></div></div>
<div class="ttc" id="class_r_vector3_html_a542e2c644be877b912e19ea5d1a1c693"><div class="ttname"><a href="class_r_vector3.html#a542e2c644be877b912e19ea5d1a1c693">RVector3::operator==</a></div><div class="ttdeci">bool operator==(const RVector3 &amp;rhs)</div><div class="ttdef"><b>Definition:</b> Repetier.h:736</div></div>
<div class="ttc" id="class_r_vector3_html_a052dccde8805cbc8a213aa054ec9a31e"><div class="ttname"><a href="class_r_vector3.html#a052dccde8805cbc8a213aa054ec9a31e">RVector3::x</a></div><div class="ttdeci">float x</div><div class="ttdef"><b>Definition:</b> Repetier.h:714</div></div>
<div class="ttc" id="class_r_math_html_a8932e3cf4f499b801ea223d09b0416d8"><div class="ttname"><a href="class_r_math.html#a8932e3cf4f499b801ea223d09b0416d8">RMath::max</a></div><div class="ttdeci">static uint16_t max(uint16_t a, uint16_t b)</div><div class="ttdef"><b>Definition:</b> Repetier.h:677</div></div>
<div class="ttc" id="class_r_math_html_a30c609c088c31aae1e0ce843097e3bcc"><div class="ttname"><a href="class_r_math.html#a30c609c088c31aae1e0ce843097e3bcc">RMath::sqr</a></div><div class="ttdeci">static float sqr(float a)</div><div class="ttdef"><b>Definition:</b> Repetier.h:705</div></div>
<div class="ttc" id="class_r_math_html_a653c452d8efd0df2fb018041dda05810"><div class="ttname"><a href="class_r_math.html#a653c452d8efd0df2fb018041dda05810">RMath::min</a></div><div class="ttdeci">static int32_t min(int32_t a, int32_t b)</div><div class="ttdef"><b>Definition:</b> Repetier.h:642</div></div>
<div class="ttc" id="class_r_vector3_html_a1b8e2d63f5632589533434ac29b72d08"><div class="ttname"><a href="class_r_vector3.html#a1b8e2d63f5632589533434ac29b72d08">RVector3::RVector3</a></div><div class="ttdeci">RVector3(float _x=0, float _y=0, float _z=0)</div><div class="ttdef"><b>Definition:</b> Repetier.h:715</div></div>
<div class="ttc" id="class_r_vector3_html_a76c40b5f31ea37f131285f685f8d5d30"><div class="ttname"><a href="class_r_vector3.html#a76c40b5f31ea37f131285f685f8d5d30">RVector3::length</a></div><div class="ttdeci">float length() const</div><div class="ttdef"><b>Definition:</b> Repetier.h:775</div></div>
<div class="ttc" id="_repetier_8h_html_a7069f5c214aef96b24b325747c9005e6a33983fd80388eb827e3c76f4a6f266c7"><div class="ttname"><a href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6a33983fd80388eb827e3c76f4a6f266c7">DEB_DEBUG</a></div><div class="ttdef"><b>Definition:</b> Repetier.h:37</div></div>
<div class="ttc" id="class_r_vector3_html_af61264225535752eb27101cb589b57aa"><div class="ttname"><a href="class_r_vector3.html#af61264225535752eb27101cb589b57aa">RVector3::interpolateDirection</a></div><div class="ttdeci">RVector3 interpolateDirection(const RVector3 &amp;b, float pos) const</div><div class="ttdef"><b>Definition:</b> Repetier.h:838</div></div>
<div class="ttc" id="_repetier_8h_html_a777e2a3aefbd82c1428f8ff4770460a1"><div class="ttname"><a href="_repetier_8h.html#a777e2a3aefbd82c1428f8ff4770460a1">executePeriodical</a></div><div class="ttdeci">volatile uint8_t executePeriodical</div><div class="ttdef"><b>Definition:</b> Extruder.cpp:26</div></div>
<div class="ttc" id="class_plane_builder_html"><div class="ttname"><a href="class_plane_builder.html">PlaneBuilder</a></div><div class="ttdef"><b>Definition:</b> Repetier.h:1051</div></div>
<div class="ttc" id="class_r_math_html_ad40cd3eedbc4e78b18f93861edae436c"><div class="ttname"><a href="class_r_math.html#ad40cd3eedbc4e78b18f93861edae436c">RMath::max</a></div><div class="ttdeci">static int16_t max(int16_t a, int16_t b)</div><div class="ttdef"><b>Definition:</b> Repetier.h:672</div></div>
<div class="ttc" id="_drivers_8h_html"><div class="ttname"><a href="_drivers_8h.html">Drivers.h</a></div></div>
<div class="ttc" id="class_r_vector3_html_ab2e0102b36baf9ba772536ee6539bb0a"><div class="ttname"><a href="class_r_vector3.html#ab2e0102b36baf9ba772536ee6539bb0a">RVector3::RVector3</a></div><div class="ttdeci">RVector3(const RVector3 &amp;a)</div><div class="ttdef"><b>Definition:</b> Repetier.h:716</div></div>
<div class="ttc" id="class_g_code_html"><div class="ttname"><a href="class_g_code.html">GCode</a></div><div class="ttdef"><b>Definition:</b> gcode.h:91</div></div>
<div class="ttc" id="class_com_html_a7089be155e8c6cdc5d8eb8d4f315058d"><div class="ttname"><a href="class_com.html#a7089be155e8c6cdc5d8eb8d4f315058d">Com::printFLN</a></div><div class="ttdeci">static void printFLN(FSTRINGPARAM(text))</div><div class="ttdef"><b>Definition:</b> Communication.cpp:526</div></div>
<div class="ttc" id="class_r_vector3_html_a5cf98d9459383c2e69d30e564aa293ea"><div class="ttname"><a href="class_r_vector3.html#a5cf98d9459383c2e69d30e564aa293ea">RVector3::normalize</a></div><div class="ttdeci">RVector3 normalize() const</div><div class="ttdef"><b>Definition:</b> Repetier.h:825</div></div>
<div class="ttc" id="class_r_math_html_a934443debcceb483975bb6f473c1dd93"><div class="ttname"><a href="class_r_math.html#a934443debcceb483975bb6f473c1dd93">RMath::absLong</a></div><div class="ttdeci">static unsigned long absLong(long a)</div><div class="ttdef"><b>Definition:</b> Repetier.h:682</div></div>
<div class="ttc" id="_repetier_8h_html_a2d25bcd37166cc98f0d823cdb8c553ef"><div class="ttname"><a href="_repetier_8h.html#a2d25bcd37166cc98f0d823cdb8c553ef">uint8</a></div><div class="ttdeci">#define uint8</div><div class="ttdef"><b>Definition:</b> Repetier.h:620</div></div>
<div class="ttc" id="class_r_vector3_html_a043ef62c30381aade26317344e1f6b28"><div class="ttname"><a href="class_r_vector3.html#a043ef62c30381aade26317344e1f6b28">RVector3::operator-</a></div><div class="ttdeci">RVector3 operator-() const</div><div class="ttdef"><b>Definition:</b> Repetier.h:770</div></div>
<div class="ttc" id="_repetier_8h_html_a7069f5c214aef96b24b325747c9005e6abb67038119681251790a54cccb51c0bd"><div class="ttname"><a href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6abb67038119681251790a54cccb51c0bd">DEB_NOMOVES</a></div><div class="ttdef"><b>Definition:</b> Repetier.h:37</div></div>
<div class="ttc" id="class_r_vector3_html_a06389c3d9490c23a2765123b7079fdd6"><div class="ttname"><a href="class_r_vector3.html#a06389c3d9490c23a2765123b7079fdd6">RVector3::scale</a></div><div class="ttdeci">RVector3 scale(float factor) const</div><div class="ttdef"><b>Definition:</b> Repetier.h:793</div></div>
<div class="ttc" id="_repetier_8h_html_a84204bb84b4bcc1ecc8acf56c42958bf"><div class="ttname"><a href="_repetier_8h.html#a84204bb84b4bcc1ecc8acf56c42958bf">memcopy2</a></div><div class="ttdeci">void memcopy2(void *dest, void *source)</div><div class="ttdef"><b>Definition:</b> Repetier.h:277</div></div>
<div class="ttc" id="class_r_vector3_html_a2b6168dc4590ee761ea6e68f6b2a396c"><div class="ttname"><a href="class_r_vector3.html#a2b6168dc4590ee761ea6e68f6b2a396c">RVector3::z</a></div><div class="ttdeci">float z</div><div class="ttdef"><b>Definition:</b> Repetier.h:714</div></div>
<div class="ttc" id="class_r_vector3_html_a7440d3f06f227398e37e50071e0643b2"><div class="ttname"><a href="class_r_vector3.html#a7440d3f06f227398e37e50071e0643b2">RVector3::interpolatePosition</a></div><div class="ttdeci">RVector3 interpolatePosition(const RVector3 &amp;b, float pos) const</div><div class="ttdef"><b>Definition:</b> Repetier.h:832</div></div>
<div class="ttc" id="_repetier_8h_html_ada9007f5c352e47dccd2756d2066bbd9"><div class="ttname"><a href="_repetier_8h.html#ada9007f5c352e47dccd2756d2066bbd9">microstepInit</a></div><div class="ttdeci">void microstepInit()</div><div class="ttdef"><b>Definition:</b> Commands.cpp:727</div></div>
<div class="ttc" id="class_r_vector3_html_abfaf89cae3115dc3d5e9ed8da6982c04"><div class="ttname"><a href="class_r_vector3.html#abfaf89cae3115dc3d5e9ed8da6982c04">RVector3::y</a></div><div class="ttdeci">float y</div><div class="ttdef"><b>Definition:</b> Repetier.h:714</div></div>
<div class="ttc" id="_repetier_8h_html_a80262161624db16ad488d66ed40012a1"><div class="ttname"><a href="_repetier_8h.html#a80262161624db16ad488d66ed40012a1">counterPeriodical</a></div><div class="ttdeci">unsigned int counterPeriodical</div><div class="ttdef"><b>Definition:</b> Extruder.cpp:25</div></div>
<div class="ttc" id="_repetier_8h_html_a758f659f15b3784c13d14aee2e89e6a2"><div class="ttname"><a href="_repetier_8h.html#a758f659f15b3784c13d14aee2e89e6a2">baudrate</a></div><div class="ttdeci">long baudrate</div><div class="ttdoc">Communication speed rate. </div><div class="ttdef"><b>Definition:</b> motion.cpp:70</div></div>
<div class="ttc" id="_display_list_8h_html"><div class="ttname"><a href="_display_list_8h.html">DisplayList.h</a></div></div>
<div class="ttc" id="_repetier_8h_html_ac6edba4757acfc1af4033e60ae66da0d"><div class="ttname"><a href="_repetier_8h.html#ac6edba4757acfc1af4033e60ae66da0d">counter500ms</a></div><div class="ttdeci">uint8_t counter500ms</div><div class="ttdef"><b>Definition:</b> Extruder.cpp:27</div></div>
<div class="ttc" id="_repetier_8h_html_a5206a05e99816878d11fc057eeb3ea18"><div class="ttname"><a href="_repetier_8h.html#a5206a05e99816878d11fc057eeb3ea18">manage_inactivity</a></div><div class="ttdeci">void manage_inactivity(uint8_t debug)</div></div>
<div class="ttc" id="_repetier_8h_html_a7069f5c214aef96b24b325747c9005e6af630f6b111405102201593a6b245b39b"><div class="ttname"><a href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6af630f6b111405102201593a6b245b39b">DEB_ECHO</a></div><div class="ttdef"><b>Definition:</b> Repetier.h:36</div></div>
<div class="ttc" id="class_r_vector3_html_a223133dd75f71fb05dc0660c06b18655"><div class="ttname"><a href="class_r_vector3.html#a223133dd75f71fb05dc0660c06b18655">RVector3::setMaximum</a></div><div class="ttdeci">void setMaximum(const RVector3 &amp;b)</div><div class="ttdef"><b>Definition:</b> Repetier.h:809</div></div>
<div class="ttc" id="_repetier_8h_html_a4791bfa40258d27fa714fff6d8e62a30"><div class="ttname"><a href="_repetier_8h.html#a4791bfa40258d27fa714fff6d8e62a30">ANALOG_INPUTS</a></div><div class="ttdeci">#define ANALOG_INPUTS</div><div class="ttdoc">number of analog input signals. Normally 1 for each temperature sensor </div><div class="ttdef"><b>Definition:</b> Repetier.h:546</div></div>
<div class="ttc" id="class_r_math_html_a041bc719bb4fb2f804c819c9ad095d41"><div class="ttname"><a href="class_r_math.html#a041bc719bb4fb2f804c819c9ad095d41">RMath::min</a></div><div class="ttdeci">static float min(float a, float b, float c)</div><div class="ttdef"><b>Definition:</b> Repetier.h:652</div></div>
<div class="ttc" id="class_r_vector3_html_a2dcb83cf3a18d60265aca8d166975dab"><div class="ttname"><a href="class_r_vector3.html#a2dcb83cf3a18d60265aca8d166975dab">RVector3::operator!=</a></div><div class="ttdeci">bool operator!=(const RVector3 &amp;rhs)</div><div class="ttdef"><b>Definition:</b> Repetier.h:740</div></div>
<div class="ttc" id="_repetier_8h_html_adc903858a94689ba9ae8882a135b3f3b"><div class="ttname"><a href="_repetier_8h.html#adc903858a94689ba9ae8882a135b3f3b">previousMillisCmd</a></div><div class="ttdeci">millis_t previousMillisCmd</div><div class="ttdef"><b>Definition:</b> motion.cpp:67</div></div>
<div class="ttc" id="_repetier_8h_html_a7069f5c214aef96b24b325747c9005e6ab3bf0643f53f169c3c0018454c035465"><div class="ttname"><a href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6ab3bf0643f53f169c3c0018454c035465">DEB_DRYRUN</a></div><div class="ttdef"><b>Definition:</b> Repetier.h:36</div></div>
<div class="ttc" id="class_print_line_html"><div class="ttname"><a href="class_print_line.html">PrintLine</a></div><div class="ttdef"><b>Definition:</b> motion.h:138</div></div>
<div class="ttc" id="class_r_vector3_html_a052ef5d3820c60a1c48937d9579d3229"><div class="ttname"><a href="class_r_vector3.html#a052ef5d3820c60a1c48937d9579d3229">RVector3::angle</a></div><div class="ttdeci">float angle(RVector3 &amp;direction)</div><div class="ttdef"><b>Definition:</b> Repetier.h:820</div></div>
<div class="ttc" id="class_r_vector3_html_a61da8a8914f7b78dbf510697337c2774"><div class="ttname"><a href="class_r_vector3.html#a61da8a8914f7b78dbf510697337c2774">RVector3::operator+=</a></div><div class="ttdeci">RVector3 &amp; operator+=(const RVector3 &amp;rhs)</div><div class="ttdef"><b>Definition:</b> Repetier.h:755</div></div>
<div class="ttc" id="_extruder_8h_html"><div class="ttname"><a href="_extruder_8h.html">Extruder.h</a></div></div>
<div class="ttc" id="class_r_vector3_html_a0f1c971493e602f3de16e6bbb6706216"><div class="ttname"><a href="class_r_vector3.html#a0f1c971493e602f3de16e6bbb6706216">RVector3::distance</a></div><div class="ttdeci">float distance(const RVector3 &amp;b) const</div><div class="ttdef"><b>Definition:</b> Repetier.h:815</div></div>
<div class="ttc" id="class_plane_builder_html_abff84b8892654173c4e9da3ddd0e80fd"><div class="ttname"><a href="class_plane_builder.html#abff84b8892654173c4e9da3ddd0e80fd">PlaneBuilder::createPlane</a></div><div class="ttdeci">void createPlane(Plane &amp;plane, bool silent=false)</div><div class="ttdef"><b>Definition:</b> Repetier.h:1071</div></div>
<div class="ttc" id="_repetier_8h_html_a2b0e4706d5ae47ec0c077dd1481d036a"><div class="ttname"><a href="_repetier_8h.html#a2b0e4706d5ae47ec0c077dd1481d036a">osAnalogInputValues</a></div><div class="ttdeci">volatile uint osAnalogInputValues[ANALOG_INPUTS]</div><div class="ttdef"><b>Definition:</b> Extruder.cpp:45</div></div>
<div class="ttc" id="class_r_math_html_a94ac506c78bb2dab8f9e48562412b26d"><div class="ttname"><a href="class_r_math.html#a94ac506c78bb2dab8f9e48562412b26d">RMath::min</a></div><div class="ttdeci">static int32_t min(int32_t a, int32_t b, int32_t c)</div><div class="ttdef"><b>Definition:</b> Repetier.h:647</div></div>
<div class="ttc" id="_repetier_8h_html_ab86b7a680d4bf92b92a3f085bdce6332"><div class="ttname"><a href="_repetier_8h.html#ab86b7a680d4bf92b92a3f085bdce6332">secondspeed_t</a></div><div class="ttdeci">uint8_t secondspeed_t</div><div class="ttdef"><b>Definition:</b> Repetier.h:217</div></div>
<div class="ttc" id="class_plane_builder_html_a64ed603fa368065aacabd12f4a922523"><div class="ttname"><a href="class_plane_builder.html#a64ed603fa368065aacabd12f4a922523">PlaneBuilder::PlaneBuilder</a></div><div class="ttdeci">PlaneBuilder()</div><div class="ttdef"><b>Definition:</b> Repetier.h:1054</div></div>
<div class="ttc" id="class_plane_builder_html_a91e323d061cd13b198c3acf6021a90a5"><div class="ttname"><a href="class_plane_builder.html#a91e323d061cd13b198c3acf6021a90a5">PlaneBuilder::addPoint</a></div><div class="ttdeci">void addPoint(float x, float y, float z)</div><div class="ttdef"><b>Definition:</b> Repetier.h:1060</div></div>
<div class="ttc" id="_repetier_8h_html_addae499e542db954fc7b0514113128ff"><div class="ttname"><a href="_repetier_8h.html#addae499e542db954fc7b0514113128ff">maxadvspeed</a></div><div class="ttdeci">float maxadvspeed</div><div class="ttdef"><b>Definition:</b> motion.cpp:76</div></div>
<div class="ttc" id="class_r_math_html_a11d270c10ec6e6e3670885c43861b7b5"><div class="ttname"><a href="class_r_math.html#a11d270c10ec6e6e3670885c43861b7b5">RMath::sqr</a></div><div class="ttdeci">static uint32_t sqr(uint32_t a)</div><div class="ttdef"><b>Definition:</b> Repetier.h:690</div></div>
<div class="ttc" id="_repetier_8h_html_aa9d0e229ec10a7a98c224f60d88fe410"><div class="ttname"><a href="_repetier_8h.html#aa9d0e229ec10a7a98c224f60d88fe410">waitRelax</a></div><div class="ttdeci">volatile int waitRelax</div><div class="ttdef"><b>Definition:</b> motion.cpp:79</div></div>
<div class="ttc" id="class_r_math_html_ab6ac20fcdebcedd7929a3fff26434d6f"><div class="ttname"><a href="class_r_math.html#ab6ac20fcdebcedd7929a3fff26434d6f">RMath::sqr</a></div><div class="ttdeci">static int32_t sqr(int32_t a)</div><div class="ttdef"><b>Definition:</b> Repetier.h:686</div></div>
<div class="ttc" id="_repetier_8h_html_a7069f5c214aef96b24b325747c9005e6ac42daeb287e3dcc360fbfa82f581066a"><div class="ttname"><a href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6ac42daeb287e3dcc360fbfa82f581066a">DEB_COMMUNICATION</a></div><div class="ttdef"><b>Definition:</b> Repetier.h:37</div></div>
<div class="ttc" id="_repetier_8h_html_aa29b1c69052ae57a105fb4834214b491"><div class="ttname"><a href="_repetier_8h.html#aa29b1c69052ae57a105fb4834214b491">pwm_pos</a></div><div class="ttdeci">uint8_t pwm_pos[NUM_PWM]</div><div class="ttdef"><b>Definition:</b> motion.cpp:78</div></div>
<div class="ttc" id="ui_8h_html"><div class="ttname"><a href="ui_8h.html">ui.h</a></div></div>
<div class="ttc" id="_repetier_8h_html_a7069f5c214aef96b24b325747c9005e6a32f3b6b1658a5e27fa5736b6922c5046"><div class="ttname"><a href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6a32f3b6b1658a5e27fa5736b6922c5046">DEB_INFO</a></div><div class="ttdef"><b>Definition:</b> Repetier.h:36</div></div>
<div class="ttc" id="_repetier_8h_html_ac5bff736e8dc00534df00bc5c3628021"><div class="ttname"><a href="_repetier_8h.html#ac5bff736e8dc00534df00bc5c3628021">PROGMEM</a></div><div class="ttdeci">const uint8 osAnalogInputChannels [] PROGMEM</div><div class="ttdef"><b>Definition:</b> Commands.cpp:24</div></div>
<div class="ttc" id="_communication_8h_html"><div class="ttname"><a href="_communication_8h.html">Communication.h</a></div></div>
<div class="ttc" id="_s_d_card_8cpp_html_a8699ac6c5bc1ba80338828c0e1621ff3"><div class="ttname"><a href="_s_d_card_8cpp.html#a8699ac6c5bc1ba80338828c0e1621ff3">fullName</a></div><div class="ttdeci">char fullName[LONG_FILENAME_LENGTH *SD_MAX_FOLDER_DEPTH+SD_MAX_FOLDER_DEPTH+1]</div><div class="ttdef"><b>Definition:</b> SDCard.cpp:27</div></div>
<div class="ttc" id="class_plane_html_a818b693ba813d53949e18aa1416cc12a"><div class="ttname"><a href="class_plane.html#a818b693ba813d53949e18aa1416cc12a">Plane::a</a></div><div class="ttdeci">float a</div><div class="ttdef"><b>Definition:</b> Printer.h:126</div></div>
<div class="ttc" id="class_r_math_html"><div class="ttname"><a href="class_r_math.html">RMath</a></div><div class="ttdef"><b>Definition:</b> Repetier.h:629</div></div>
<div class="ttc" id="_repetier_8h_html_a318ab6b2b82edc273f0ba4476b7967d9"><div class="ttname"><a href="_repetier_8h.html#a318ab6b2b82edc273f0ba4476b7967d9">fanKickstart</a></div><div class="ttdeci">uint8_t fanKickstart</div><div class="ttdef"><b>Definition:</b> Commands.cpp:234</div></div>
<div class="ttc" id="_repetier_8h_html_a03240f7b400beb759384e548a1fba658"><div class="ttname"><a href="_repetier_8h.html#a03240f7b400beb759384e548a1fba658">motorCurrentControlInit</a></div><div class="ttdeci">void motorCurrentControlInit()</div></div>
<div class="ttc" id="_h_a_l_8h_html_a5f255edd429b0abc92fae25c511d45a7"><div class="ttname"><a href="_h_a_l_8h.html#a5f255edd429b0abc92fae25c511d45a7">millis_t</a></div><div class="ttdeci">uint32_t millis_t</div><div class="ttdef"><b>Definition:</b> HAL.h:158</div></div>
<div class="ttc" id="_repetier_8h_html_aea2623497998c501f251cff6af09dc5e"><div class="ttname"><a href="_repetier_8h.html#aea2623497998c501f251cff6af09dc5e">memcopy4</a></div><div class="ttdeci">void memcopy4(void *dest, void *source)</div><div class="ttdef"><b>Definition:</b> Repetier.h:280</div></div>
<div class="ttc" id="class_com_html_ae82185217c66c5f14ea46f405a6cdceb"><div class="ttname"><a href="class_com.html#ae82185217c66c5f14ea46f405a6cdceb">Com::printF</a></div><div class="ttdeci">static void printF(FSTRINGPARAM(text))</div></div>
<div class="ttc" id="_events_8h_html"><div class="ttname"><a href="_events_8h.html">Events.h</a></div></div>
<div class="ttc" id="_repetier_8h_html_a44a03c09095315ecc8926e18c325472c"><div class="ttname"><a href="_repetier_8h.html#a44a03c09095315ecc8926e18c325472c">LONG_FILENAME_LENGTH</a></div><div class="ttdeci">#define LONG_FILENAME_LENGTH</div><div class="ttdef"><b>Definition:</b> Repetier.h:586</div></div>
<div class="ttc" id="_s_d_card_8cpp_html_a8169ea97028836b8ed4f6301f65dbcf8"><div class="ttname"><a href="_s_d_card_8cpp.html#a8169ea97028836b8ed4f6301f65dbcf8">tempLongFilename</a></div><div class="ttdeci">char tempLongFilename[LONG_FILENAME_LENGTH+1]</div><div class="ttdef"><b>Definition:</b> SDCard.cpp:26</div></div>
<div class="ttc" id="_repetier_8h_html_a7069f5c214aef96b24b325747c9005e6a5df535ec23515f04d78f076eac9d6635"><div class="ttname"><a href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6a5df535ec23515f04d78f076eac9d6635">DEB_ERROR</a></div><div class="ttdef"><b>Definition:</b> Repetier.h:36</div></div>
<div class="ttc" id="class_r_vector3_html_acada9429b21cdb31072945dd03cbefc7"><div class="ttname"><a href="class_r_vector3.html#acada9429b21cdb31072945dd03cbefc7">RVector3::cross</a></div><div class="ttdeci">RVector3 cross(const RVector3 &amp;b) const</div><div class="ttdef"><b>Definition:</b> Repetier.h:785</div></div>
<div class="ttc" id="class_plane_html"><div class="ttname"><a href="class_plane.html">Plane</a></div><div class="ttdef"><b>Definition:</b> Printer.h:123</div></div>
<div class="ttc" id="_repetier_8h_html_acfda5eefcb4f9723567641d4167a9582"><div class="ttname"><a href="_repetier_8h.html#acfda5eefcb4f9723567641d4167a9582">stepperInactiveTime</a></div><div class="ttdeci">millis_t stepperInactiveTime</div><div class="ttdef"><b>Definition:</b> motion.cpp:69</div></div>
<div class="ttc" id="class_r_math_html_a7081f9bfdfab88153459aab520d59bda"><div class="ttname"><a href="class_r_math.html#a7081f9bfdfab88153459aab520d59bda">RMath::min</a></div><div class="ttdeci">static uint16_t min(uint16_t a, uint16_t b)</div><div class="ttdef"><b>Definition:</b> Repetier.h:667</div></div>
<div class="ttc" id="structdirectory_entry_html"><div class="ttname"><a href="structdirectory_entry.html">directoryEntry</a></div><div class="ttdoc">FAT short directory entry. </div><div class="ttdef"><b>Definition:</b> FatStructs.h:321</div></div>
<div class="ttc" id="class_r_vector3_html_a6493b8ce49f03d43cf6e40b9e42e5030"><div class="ttname"><a href="class_r_vector3.html#a6493b8ce49f03d43cf6e40b9e42e5030">RVector3::setMinimum</a></div><div class="ttdeci">void setMinimum(const RVector3 &amp;b)</div><div class="ttdef"><b>Definition:</b> Repetier.h:803</div></div>
<div class="ttc" id="motion_8h_html"><div class="ttname"><a href="motion_8h.html">motion.h</a></div></div>
<div class="ttc" id="_repetier_8h_html_ad46b2ebcd4c426b06cda147ddc1001e7"><div class="ttname"><a href="_repetier_8h.html#ad46b2ebcd4c426b06cda147ddc1001e7">uint</a></div><div class="ttdeci">#define uint</div><div class="ttdef"><b>Definition:</b> Repetier.h:619</div></div>
<div class="ttc" id="_repetier_8h_html_adf6a7cb291c016fdbefd2e795f610ae0"><div class="ttname"><a href="_repetier_8h.html#adf6a7cb291c016fdbefd2e795f610ae0">updateStepsParameter</a></div><div class="ttdeci">void updateStepsParameter(PrintLine *p)</div></div>
<div class="ttc" id="class_r_vector3_html_a240e5e7ea1b5862eec0b287ff61f65c7"><div class="ttname"><a href="class_r_vector3.html#a240e5e7ea1b5862eec0b287ff61f65c7">RVector3::scaleIntern</a></div><div class="ttdeci">void scaleIntern(float factor)</div><div class="ttdef"><b>Definition:</b> Repetier.h:797</div></div>
<div class="ttc" id="class_r_math_html_a44319afcaacd944bdca649894f0d70b1"><div class="ttname"><a href="class_r_math.html#a44319afcaacd944bdca649894f0d70b1">RMath::min</a></div><div class="ttdeci">static float min(float a, float b)</div><div class="ttdef"><b>Definition:</b> Repetier.h:632</div></div>
<div class="ttc" id="_repetier_8h_html_a6f04e4616ed807982151bfc71eacd600"><div class="ttname"><a href="_repetier_8h.html#a6f04e4616ed807982151bfc71eacd600">NUM_PWM</a></div><div class="ttdeci">#define NUM_PWM</div><div class="ttdef"><b>Definition:</b> Repetier.h:892</div></div>
<div class="ttc" id="_commands_8h_html"><div class="ttname"><a href="_commands_8h.html">Commands.h</a></div></div>
<div class="ttc" id="class_plane_builder_html_a2d6b233a4719e3e8ab5e97ca034b7e79"><div class="ttname"><a href="class_plane_builder.html#a2d6b233a4719e3e8ab5e97ca034b7e79">PlaneBuilder::reset</a></div><div class="ttdeci">void reset()</div><div class="ttdef"><b>Definition:</b> Repetier.h:1057</div></div>
<div class="ttc" id="_s_d_card_8cpp_html_a1af0758b2d0ac9be1e97beb13de6eb55"><div class="ttname"><a href="_s_d_card_8cpp.html#a1af0758b2d0ac9be1e97beb13de6eb55">sd</a></div><div class="ttdeci">SDCard sd</div><div class="ttdef"><b>Definition:</b> SDCard.cpp:31</div></div>
<div class="ttc" id="class_plane_html_aec04c57607ffa16c210f955360ef4153"><div class="ttname"><a href="class_plane.html#aec04c57607ffa16c210f955360ef4153">Plane::c</a></div><div class="ttdeci">float c</div><div class="ttdef"><b>Definition:</b> Printer.h:126</div></div>
<div class="ttc" id="_repetier_8h_html_ab70f53b8c69009326cad4be6edd3a1f0"><div class="ttname"><a href="_repetier_8h.html#ab70f53b8c69009326cad4be6edd3a1f0">maxInactiveTime</a></div><div class="ttdeci">millis_t maxInactiveTime</div><div class="ttdef"><b>Definition:</b> motion.cpp:68</div></div>
<div class="ttc" id="_repetier_8h_html_ad31d638d2630456f0dee6eaf5ba859e6"><div class="ttname"><a href="_repetier_8h.html#ad31d638d2630456f0dee6eaf5ba859e6">operator+</a></div><div class="ttdeci">RVector3 operator+(RVector3 lhs, const RVector3 &amp;rhs)</div><div class="ttdef"><b>Definition:</b> Repetier.h:857</div></div>
<div class="ttc" id="_repetier_8h_html_aa3eabb726538a80c6bc33e98a87a5c56"><div class="ttname"><a href="_repetier_8h.html#aa3eabb726538a80c6bc33e98a87a5c56">operator-</a></div><div class="ttdeci">RVector3 operator-(RVector3 lhs, const RVector3 &amp;rhs)</div><div class="ttdef"><b>Definition:</b> Repetier.h:865</div></div>
<div class="ttc" id="_repetier_8h_html_a7069f5c214aef96b24b325747c9005e6"><div class="ttname"><a href="_repetier_8h.html#a7069f5c214aef96b24b325747c9005e6">debugFlags</a></div><div class="ttdeci">debugFlags</div><div class="ttdef"><b>Definition:</b> Repetier.h:36</div></div>
<div class="ttc" id="class_r_vector3_html_a87dd50dfb1a9b939d41f2de18809c433"><div class="ttname"><a href="class_r_vector3.html#a87dd50dfb1a9b939d41f2de18809c433">RVector3::operator-=</a></div><div class="ttdeci">RVector3 &amp; operator-=(const RVector3 &amp;rhs)</div><div class="ttdef"><b>Definition:</b> Repetier.h:763</div></div>
<div class="ttc" id="_repetier_8h_html_acb8c2930412c809a09ed3752e7e7e0dc"><div class="ttname"><a href="_repetier_8h.html#acb8c2930412c809a09ed3752e7e7e0dc">finishNextSegment</a></div><div class="ttdeci">void finishNextSegment()</div></div>
<div class="ttc" id="class_plane_html_a3d802fea10cfe6352e1792733d793b14"><div class="ttname"><a href="class_plane.html#a3d802fea10cfe6352e1792733d793b14">Plane::b</a></div><div class="ttdeci">float b</div><div class="ttdef"><b>Definition:</b> Printer.h:126</div></div>
<div class="ttc" id="_repetier_8h_html_a4f72bc2f610f4156f446d7cc00fab46c"><div class="ttname"><a href="_repetier_8h.html#a4f72bc2f610f4156f446d7cc00fab46c">SD_MAX_FOLDER_DEPTH</a></div><div class="ttdeci">#define SD_MAX_FOLDER_DEPTH</div><div class="ttdef"><b>Definition:</b> Repetier.h:587</div></div>
<div class="ttc" id="_repetier_8h_html_a7b9f5bc67725449f737bb229c9c8cae9"><div class="ttname"><a href="_repetier_8h.html#a7b9f5bc67725449f737bb229c9c8cae9">writeMonitor</a></div><div class="ttdeci">void writeMonitor()</div><div class="ttdoc">Writes monitored temperatures. </div><div class="ttdef"><b>Definition:</b> Extruder.cpp:2495</div></div>
<div class="ttc" id="class_r_math_html_a5983c7eb40b0fc22d8cadedac8c930f7"><div class="ttname"><a href="class_r_math.html#a5983c7eb40b0fc22d8cadedac8c930f7">RMath::min</a></div><div class="ttdeci">static int min(int a, int b)</div><div class="ttdef"><b>Definition:</b> Repetier.h:662</div></div>
<div class="ttc" id="_repetier_8h_html_af30ccb099aa74e5ab14e18d157294f1a"><div class="ttname"><a href="_repetier_8h.html#af30ccb099aa74e5ab14e18d157294f1a">maxadv2</a></div><div class="ttdeci">int maxadv2</div><div class="ttdef"><b>Definition:</b> motion.cpp:75</div></div>
<div class="ttc" id="class_r_vector3_html_a6cece440c6e5bfa9ceb483d3778487bf"><div class="ttname"><a href="class_r_vector3.html#a6cece440c6e5bfa9ceb483d3778487bf">RVector3::scalar</a></div><div class="ttdeci">float scalar(const RVector3 &amp;b) const</div><div class="ttdef"><b>Definition:</b> Repetier.h:789</div></div>
<div class="ttc" id="_repetier_8h_html_afa887879a1ca45bac177efafd38b24ea"><div class="ttname"><a href="_repetier_8h.html#afa887879a1ca45bac177efafd38b24ea">operator*</a></div><div class="ttdeci">RVector3 operator*(const RVector3 &amp;lhs, float rhs)</div><div class="ttdef"><b>Definition:</b> Repetier.h:873</div></div>
<div class="ttc" id="_repetier_8h_html_a65a322bad41be18bfefa92002f0be2fa"><div class="ttname"><a href="_repetier_8h.html#a65a322bad41be18bfefa92002f0be2fa">linear_move</a></div><div class="ttdeci">void linear_move(long steps_remaining[])</div></div>
<div class="ttc" id="_eeprom_8h_html"><div class="ttname"><a href="_eeprom_8h.html">Eeprom.h</a></div></div>
<div class="ttc" id="class_r_vector3_html"><div class="ttname"><a href="class_r_vector3.html">RVector3</a></div><div class="ttdef"><b>Definition:</b> Repetier.h:711</div></div>
<div class="ttc" id="_h_a_l_8h_html"><div class="ttname"><a href="_h_a_l_8h.html">HAL.h</a></div></div>
<div class="ttc" id="class_r_vector3_html_aadaebd5ea8d4ae04dc758e9db27490ef"><div class="ttname"><a href="class_r_vector3.html#aadaebd5ea8d4ae04dc758e9db27490ef">RVector3::operator=</a></div><div class="ttdeci">RVector3 &amp; operator=(const RVector3 &amp;rhs)</div><div class="ttdef"><b>Definition:</b> Repetier.h:744</div></div>
<div class="ttc" id="class_plane_builder_html_a3f3b75733a7a0413ac290ced364ea2f9"><div class="ttname"><a href="class_plane_builder.html#a3f3b75733a7a0413ac290ced364ea2f9">PlaneBuilder::sum_z</a></div><div class="ttdeci">float sum_z</div><div class="ttdef"><b>Definition:</b> Repetier.h:1052</div></div>
<div class="ttc" id="_configuration_8h_html"><div class="ttname"><a href="_configuration_8h.html">Configuration.h</a></div></div>
<div class="ttc" id="_repetier_8h_html_a0764a6316281ac76f1e8fa8a07b0332e"><div class="ttname"><a href="_repetier_8h.html#a0764a6316281ac76f1e8fa8a07b0332e">setupTimerInterrupt</a></div><div class="ttdeci">void setupTimerInterrupt()</div></div>
<div class="ttc" id="class_r_math_html_ad27f9bcd5691daeda34e020e7104dad2"><div class="ttname"><a href="class_r_math.html#ad27f9bcd5691daeda34e020e7104dad2">RMath::max</a></div><div class="ttdeci">static float max(float a, float b)</div><div class="ttdef"><b>Definition:</b> Repetier.h:637</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_cdf0096ae548159f0698b0a71289cf6c.html">ArduinoAVR</a></li><li class="navelem"><a class="el" href="dir_360d65efbdba454d299657bac363b72c.html">Repetier</a></li><li class="navelem"><a class="el" href="_repetier_8h.html">Repetier.h</a></li>
    <li class="footer">Generated on Tue Sep 19 2017 18:54:00 for Repetier-Firmware by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
